Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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

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

void KMyMoneyAccountIconItem::setReconciliation bool   ) 
 

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
forceTotalUpdate set to true to force update of total values (used in constructor, should not be necessary to be set by application code)
Note:
if account.id() is not equal to the current account id then this method returns immediately


Member Data Documentation

MyMoneyAccount KMyMoneyAccountIconItem::m_account [private]
 

bool KMyMoneyAccountIconItem::m_reconcileFlag [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 12:13:15 2008 for KMyMoney by  doxygen 1.4.1