KMyMoneyAccountIconItem Class Reference

#include <kaccountsview.h>

Inheritance diagram for KMyMoneyAccountIconItem:

KIconViewItem
Collaboration diagram for KMyMoneyAccountIconItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KMyMoneyAccountIconItem (QIconView *parent, const MyMoneyAccount &account)
 ~KMyMoneyAccountIconItem ()
void updateAccount (const MyMoneyAccount &account)
const MyMoneyObjectitemObject (void) const
void setReconciliation (bool)

Private Attributes

MyMoneyAccount m_account
bool m_reconcileFlag


Detailed Description

Author:
Thomas Baumgart This class represents an item in the account icon view. It is used by the KAccountsView to select between the accounts using icons.

Constructor & Destructor Documentation

KMyMoneyAccountIconItem::KMyMoneyAccountIconItem ( QIconView *  parent,
const MyMoneyAccount account 
)

Constructor to be used to construct an account icon object.

Parameters:
parent pointer to the KIconView object this entry should be added to.
account const reference to MyMoneyAccount for which the KIconView entry is constructed

KMyMoneyAccountIconItem::~KMyMoneyAccountIconItem (  ) 


Member Function Documentation

void KMyMoneyAccountIconItem::updateAccount ( const MyMoneyAccount account  ) 

This method is loads new information into the item and updates the fields

Parameters:
account the account data for the object to be updated
Note:
if account.id() is not equal to the current account id then this method returns immediately

const MyMoneyObject& KMyMoneyAccountIconItem::itemObject ( void   )  const [inline]

void KMyMoneyAccountIconItem::setReconciliation ( bool   ) 


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:07:49 2011 for KMyMoney by  doxygen 1.5.6