#include <stdtransactiondownloaded.h>
Public Member Functions | |
StdTransactionDownloaded (Register *parent, const MyMoneyTransaction &transaction, const MyMoneySplit &split, int uniqueId) | |
virtual | ~StdTransactionDownloaded () |
virtual const char * | className (void) |
virtual bool | paintRegisterCellSetup (QPainter *painter, int &row, int &col, QRect &cellRect, QRect &textRect, QColorGroup &cg, QBrush &brush) |
int | numRowsRegister (void) const |
KMyMoneyRegister::StdTransactionDownloaded::StdTransactionDownloaded | ( | Register * | parent, | |
const MyMoneyTransaction & | transaction, | |||
const MyMoneySplit & | split, | |||
int | uniqueId | |||
) |
virtual KMyMoneyRegister::StdTransactionDownloaded::~StdTransactionDownloaded | ( | ) | [inline, virtual] |
virtual const char* KMyMoneyRegister::StdTransactionDownloaded::className | ( | void | ) | [inline, virtual] |
Reimplemented from KMyMoneyRegister::StdTransaction.
virtual bool KMyMoneyRegister::StdTransactionDownloaded::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.
int KMyMoneyRegister::StdTransactionDownloaded::numRowsRegister | ( | void | ) | const [inline, virtual] |
Provided for internal reasons. No API change. See RegisterItem::numRowsRegister()
Reimplemented from KMyMoneyRegister::StdTransaction.