KBudgetListItem Class Reference

#include <kbudgetview.h>

Inheritance diagram for KBudgetListItem:

KListViewItem
Collaboration diagram for KBudgetListItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KBudgetListItem (KListView *parent, const MyMoneyBudget &budget)
 ~KBudgetListItem ()
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)
const MyMoneyBudgetbudget (void)
void setBudget (const MyMoneyBudget &budget)

Private Attributes

MyMoneyBudget m_budget


Detailed Description

Author:
Darren Gould

Thomas Baumgart

This class represents an item in the budgets list view.

Constructor & Destructor Documentation

KBudgetListItem::KBudgetListItem ( KListView parent,
const MyMoneyBudget budget 
)

Constructor to be used to construct a budget entry object.

Parameters:
parent pointer to the KListView object this entry should be added to.
budget const reference to MyMoneyBudget for which the KListView entry is constructed

KBudgetListItem::~KBudgetListItem (  ) 


Member Function Documentation

void KBudgetListItem::paintCell ( QPainter *  p,
const QColorGroup &  cg,
int  column,
int  width,
int  align 
)

This method is re-implemented from QListViewItem::paintCell(). Besides the standard implementation, the QPainter is set according to the applications settings.

const MyMoneyBudget& KBudgetListItem::budget ( void   )  [inline]

void KBudgetListItem::setBudget ( const MyMoneyBudget budget  )  [inline]


Member Data Documentation


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

Generated on Wed Jan 26 13:05:47 2011 for KMyMoney by  doxygen 1.5.6