#include <kinstitutionsview.h>
Public Slots | |
void | slotLoadAccounts (void) |
void | show (void) |
void | polish (void) |
void | slotReconcileAccount (const MyMoneyAccount &acc, const QDate &reconciliationDate, const MyMoneyMoney &endingBalance) |
Signals | |
void | selectObject (const MyMoneyObject &) |
void | openContextMenu (const MyMoneyObject &obj) |
void | openObject (const MyMoneyObject &obj) |
void | reparent (const MyMoneyAccount &acc, const MyMoneyInstitution &institution) |
Public Member Functions | |
KInstitutionsView (QWidget *parent=0, const char *name=0) | |
virtual | ~KInstitutionsView () |
Protected Slots | |
void | slotUpdateNetWorth (void) |
Protected Member Functions | |
void | loadAccounts (void) |
void | loadSubAccounts (KMyMoneyAccountTreeItem *parent, const QString &institutionId) |
void | loadSubAccounts (KMyMoneyAccountTreeItem *parent) |
Private Member Functions | |
const QPixmap | accountImage (const MyMoneyAccount::accountTypeE type) const |
Private Attributes | |
MyMoneyAccount | m_reconciliationAccount |
QMap< QString, MyMoneyAccount > | m_accountMap |
QMap< QString, MyMoneySecurity > | m_securityMap |
QMap< QString, unsigned long > | m_transactionCountMap |
bool | m_needReload |
set if a view needs to be reloaded during show() |
KInstitutionsView::KInstitutionsView | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
virtual KInstitutionsView::~KInstitutionsView | ( | ) | [virtual] |
void KInstitutionsView::slotLoadAccounts | ( | void | ) | [slot] |
void KInstitutionsView::show | ( | void | ) | [slot] |
Override the base class behaviour to include all updates that happened in the meantime.
void KInstitutionsView::polish | ( | void | ) | [slot] |
void KInstitutionsView::slotReconcileAccount | ( | const MyMoneyAccount & | acc, | |
const QDate & | reconciliationDate, | |||
const MyMoneyMoney & | endingBalance | |||
) | [slot] |
void KInstitutionsView::loadAccounts | ( | void | ) | [protected] |
void KInstitutionsView::loadSubAccounts | ( | KMyMoneyAccountTreeItem * | parent, | |
const QString & | institutionId | |||
) | [protected] |
void KInstitutionsView::loadSubAccounts | ( | KMyMoneyAccountTreeItem * | parent | ) | [protected] |
void KInstitutionsView::slotUpdateNetWorth | ( | void | ) | [protected, slot] |
const QPixmap KInstitutionsView::accountImage | ( | const MyMoneyAccount::accountTypeE | type | ) | const [private] |
This method returns an icon according to the account type passed in the argument type
.
type | account type as defined in MyMoneyAccount::accountTypeE |
void KInstitutionsView::selectObject | ( | const MyMoneyObject & | ) | [signal] |
This signal serves as proxy for KMyMoneyAccountTree::selectObject()
void KInstitutionsView::openContextMenu | ( | const MyMoneyObject & | obj | ) | [signal] |
This signal serves as proxy for KMyMoneyAccountTree::openContextMenu(const MyMoneyObject&)
void KInstitutionsView::openObject | ( | const MyMoneyObject & | obj | ) | [signal] |
This signal will be emitted when the left mouse button is double clicked (actually the KDE executed setting is used) on an account or institution.
void KInstitutionsView::reparent | ( | const MyMoneyAccount & | acc, | |
const MyMoneyInstitution & | institution | |||
) | [signal] |
This signal is emitted, when the user selected to reparent the account acc
to be a subordinate account of institution
.
acc | const reference to account to be reparented | |
institution | const reference to new institution |
QMap<QString, MyMoneyAccount> KInstitutionsView::m_accountMap [private] |
QMap<QString, MyMoneySecurity> KInstitutionsView::m_securityMap [private] |
QMap<QString, unsigned long> KInstitutionsView::m_transactionCountMap [private] |
bool KInstitutionsView::m_needReload [private] |