diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/stdtransactiondownloaded.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip |
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets/stdtransactiondownloaded.h')
-rw-r--r-- | kmymoney2/widgets/stdtransactiondownloaded.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kmymoney2/widgets/stdtransactiondownloaded.h b/kmymoney2/widgets/stdtransactiondownloaded.h index 705fb04..0320882 100644 --- a/kmymoney2/widgets/stdtransactiondownloaded.h +++ b/kmymoney2/widgets/stdtransactiondownloaded.h @@ -38,7 +38,7 @@ namespace KMyMoneyRegister { class StdTransactionDownloaded : public StdTransaction { public: - StdTransactionDownloaded(Register* parent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId); + StdTransactionDownloaded(Register* tqparent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId); virtual ~StdTransactionDownloaded() {} virtual const char* className(void) { return "StdTransactionDownloaded"; } @@ -55,28 +55,28 @@ public: * - textRect (area covering the text) * - color of the pen to do the painting of text and lines * - * @param painter pointer to the QPainter object + * @param painter pointer to the TQPainter object * @param row vertical index of cell in register * @param col horizontal index of cell in register - * @param cellRect ref to QRect object receiving the area information for the cell - * @param textRect ref to QRect object receiving the area information for the text - * @param cg ref to QColorGroup object receiving the color information to be used - * @param brush ref to QBrush object receiveing the brush information to be used + * @param cellRect ref to TQRect object receiving the area information for the cell + * @param textRect ref to TQRect object receiving the area information for the text + * @param cg ref to TQColorGroup object receiving the color information to be used + * @param brush ref to TQBrush object receiveing the brush information to be used */ - virtual bool paintRegisterCellSetup(QPainter* painter, int& row, int& col, QRect& cellRect, QRect& textRect, QColorGroup& cg, QBrush& brush); + virtual bool paintRegisterCellSetup(TQPainter* painter, int& row, int& col, TQRect& cellRect, TQRect& textRect, TQColorGroup& cg, TQBrush& brush); #if 0 - virtual void paintRegisterCell(QPainter* painter, int row, int col, const QRect& r, bool selected, const QColorGroup& cg); + virtual void paintRegisterCell(TQPainter* painter, int row, int col, const TQRect& r, bool selected, const TQColorGroup& cg); - bool formCellText(QString& txt, int& align, int row, int col, QPainter* painter = 0); - void registerCellText(QString& txt, int& align, int row, int col, QPainter* painter = 0); + bool formCellText(TQString& txt, int& align, int row, int col, TQPainter* painter = 0); + void registerCellText(TQString& txt, int& align, int row, int col, TQPainter* painter = 0); int numColsForm(void) const { return 4; } - void arrangeWidgetsInForm(QMap<QString, QWidget*>& editWidgets); - void arrangeWidgetsInRegister(QMap<QString, QWidget*>& editWidgets); - void tabOrderInForm(QWidgetList& tabOrderWidgets) const; - void tabOrderInRegister(QWidgetList& tabOrderWidgets) const; + void arrangeWidgetsInForm(TQMap<TQString, TQWidget*>& editWidgets); + void arrangeWidgetsInRegister(TQMap<TQString, TQWidget*>& editWidgets); + void tabOrderInForm(TQWidgetList& tabOrderWidgets) const; + void tabOrderInRegister(TQWidgetList& tabOrderWidgets) const; int numRowsRegister(bool expanded) const; #endif @@ -90,7 +90,7 @@ public: class InvestTransactionDownloaded : public InvestTransaction { public: - InvestTransactionDownloaded(Register* parent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId); + InvestTransactionDownloaded(Register* tqparent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId); virtual ~InvestTransactionDownloaded() {} virtual const char* className(void) { return "InvestTransactionDownloaded"; } @@ -107,15 +107,15 @@ class InvestTransactionDownloaded : public InvestTransaction * - textRect (area covering the text) * - color of the pen to do the painting of text and lines * - * @param painter pointer to the QPainter object + * @param painter pointer to the TQPainter object * @param row vertical index of cell in register * @param col horizontal index of cell in register - * @param cellRect ref to QRect object receiving the area information for the cell - * @param textRect ref to QRect object receiving the area information for the text - * @param cg ref to QColorGroup object receiving the color information to be used - * @param brush ref to QBrush object receiveing the brush information to be used + * @param cellRect ref to TQRect object receiving the area information for the cell + * @param textRect ref to TQRect object receiving the area information for the text + * @param cg ref to TQColorGroup object receiving the color information to be used + * @param brush ref to TQBrush object receiveing the brush information to be used */ - virtual bool paintRegisterCellSetup(QPainter* painter, int& row, int& col, QRect& cellRect, QRect& textRect, QColorGroup& cg, QBrush& brush); + virtual bool paintRegisterCellSetup(TQPainter* painter, int& row, int& col, TQRect& cellRect, TQRect& textRect, TQColorGroup& cg, TQBrush& brush); /** * Provided for internal reasons. No API change. See RegisterItem::numRowsRegister() */ |