Pages
API Documentation
On this page

Attica::AccountBalance Class

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)

List of all members, including inherited members

Public Types

Public Functions

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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.