Search for usage in LXR

Attica::AccountBalance Class Reference

#include <Attica/AccountBalance>

Public Types

typedef QList< AccountBalanceList

Public Member Functions

 AccountBalance ()
 AccountBalance (const AccountBalance &other)
 ~AccountBalance ()
QString balance () const
QString currency () const
AccountBalanceoperator= (const AccountBalance &other)
void setBalance (const QString &name)
void setCurrency (const QString &currency)

Detailed Description

Represents the money in the account of the user

Definition at line 22 of file accountbalance.h.

Constructor & Destructor Documentation

◆ AccountBalance() [1/2]

AccountBalance::AccountBalance ( )

Creates an empty AccountBalance.

Definition at line 18 of file accountbalance.cpp.

◆ AccountBalance() [2/2]

AccountBalance::AccountBalance ( const AccountBalance other)

Copy constructor.

otherthe AccountBalance to copy from

Definition at line 23 of file accountbalance.cpp.

◆ ~AccountBalance()

AccountBalance::~AccountBalance ( )


Definition at line 34 of file accountbalance.cpp.

Member Function Documentation

◆ balance()

QString AccountBalance::balance ( ) const

Gets the balance.

the amount of money in the account

Definition at line 43 of file accountbalance.cpp.

◆ currency()

QString AccountBalance::currency ( ) const

Gets the currency.

the currency

Definition at line 53 of file accountbalance.cpp.

◆ operator=()

AccountBalance & AccountBalance::operator= ( const AccountBalance other)

Assignment operator.

otherthe AccountBalance to assign from
pointer to this AccountBalance

Definition at line 28 of file accountbalance.cpp.

◆ setBalance()

void AccountBalance::setBalance ( const QString name)

Sets the balance.


Definition at line 38 of file accountbalance.cpp.

◆ setCurrency()

void AccountBalance::setCurrency ( const QString currency)

Sets the currency in use.

currencythe new currency (Euro, US Dollar)

Definition at line 48 of file accountbalance.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.