#include <scheduledtransaction.h>
Public Member Functions | |
StdTransactionScheduled (Register *parent, const MyMoneyTransaction &transaction, const MyMoneySplit &split, int uniqueId) | |
virtual | ~StdTransactionScheduled () |
virtual const char * | className (void) |
virtual bool | paintRegisterCellSetup (QPainter *painter, int &row, int &col, QRect &cellRect, QRect &textRect, QColorGroup &cg, QBrush &brush) |
bool | isSelectable (void) const |
bool | canHaveFocus (void) const |
virtual bool | isScheduled (void) const |
virtual int | sortSamePostDate (void) const |
Private Attributes | |
unsigned int | m_drawCounter |
KMyMoneyRegister::StdTransactionScheduled::StdTransactionScheduled | ( | Register * | parent, | |
const MyMoneyTransaction & | transaction, | |||
const MyMoneySplit & | split, | |||
int | uniqueId | |||
) |
virtual KMyMoneyRegister::StdTransactionScheduled::~StdTransactionScheduled | ( | ) | [inline, virtual] |
virtual const char* KMyMoneyRegister::StdTransactionScheduled::className | ( | void | ) | [inline, virtual] |
Reimplemented from KMyMoneyRegister::StdTransaction.
virtual bool KMyMoneyRegister::StdTransactionScheduled::paintRegisterCellSetup | ( | QPainter * | painter, | |
int & | row, | |||
int & | col, | |||
QRect & | cellRect, | |||
QRect & | textRect, | |||
QColorGroup & | cg, | |||
QBrush & | brush | |||
) | [virtual] |
This method sets the general paramaters required for the painting of a cell in the register. These are:
painter | pointer to the QPainter object | |
row | vertical index of cell in register | |
col | horizontal index of cell in register | |
cellRect | ref to QRect object receiving the area information for the cell | |
textRect | ref to QRect object receiving the area information for the text | |
cg | ref to QColorGroup object receiving the color information to be used | |
brush | ref to QBrush object receiveing the brush information to be used |
Reimplemented from KMyMoneyRegister::Transaction.
bool KMyMoneyRegister::StdTransactionScheduled::isSelectable | ( | void | ) | const [inline, virtual] |
Reimplemented from KMyMoneyRegister::Transaction.
bool KMyMoneyRegister::StdTransactionScheduled::canHaveFocus | ( | void | ) | const [inline, virtual] |
Reimplemented from KMyMoneyRegister::Transaction.
virtual bool KMyMoneyRegister::StdTransactionScheduled::isScheduled | ( | void | ) | const [inline, virtual] |
Reimplemented from KMyMoneyRegister::Transaction.
virtual int KMyMoneyRegister::StdTransactionScheduled::sortSamePostDate | ( | void | ) | const [inline, virtual] |
Reimplemented from KMyMoneyRegister::Transaction.
unsigned int KMyMoneyRegister::StdTransactionScheduled::m_drawCounter [private] |