Attica::AccountBalance Class

class Attica::AccountBalance

Represents the money in the account of the user. More...

Header: #include <Attica/AccountBalance>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

Public Functions

AccountBalance()
QString balance() const
QString currency() const
void setBalance(const QString &name)
void setCurrency(const QString &currency)

Detailed Description

Member Type Documentation

AccountBalance::List

Member Function Documentation

AccountBalance::AccountBalance()

Creates an empty AccountBalance

QString AccountBalance::balance() const

Returns the amount of money in the account

See also setBalance().

QString AccountBalance::currency() const

Returns the currency.

See also setCurrency().

void AccountBalance::setBalance(const QString &name)

Sets the balance.

balance

See also balance().

void AccountBalance::setCurrency(const QString &currency)

Sets the currency in use.

currency the new currency (Euro, US Dollar)

See also currency().