summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/scheduledtransaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/scheduledtransaction.cpp')
-rw-r--r--kmymoney2/widgets/scheduledtransaction.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/widgets/scheduledtransaction.cpp b/kmymoney2/widgets/scheduledtransaction.cpp
index 98d6787..5842247 100644
--- a/kmymoney2/widgets/scheduledtransaction.cpp
+++ b/kmymoney2/widgets/scheduledtransaction.cpp
@@ -33,18 +33,18 @@
using namespace KMyMoneyRegister;
using namespace KMyMoneyTransactionForm;
-StdTransactionScheduled::StdTransactionScheduled(Register *parent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId) :
- StdTransaction(parent, transaction, split, uniqueId),
- m_drawCounter(parent->drawCounter()-1)
+StdTransactionScheduled::StdTransactionScheduled(Register *tqparent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId) :
+ StdTransaction(tqparent, transaction, split, uniqueId),
+ m_drawCounter(tqparent->drawCounter()-1)
{
// setup initial size
setNumRowsRegister(numRowsRegister(KMyMoneyGlobalSettings::showRegisterDetailed()));
}
-bool StdTransactionScheduled::paintRegisterCellSetup(QPainter* painter, int& row, int& col, QRect& cellRect, QRect& textRect, QColorGroup& cg, QBrush& brush)
+bool StdTransactionScheduled::paintRegisterCellSetup(TQPainter* painter, int& row, int& col, TQRect& cellRect, TQRect& textRect, TQColorGroup& cg, TQBrush& brush)
{
- QRect r(cellRect);
- cg = m_parent->palette().disabled();
+ TQRect r(cellRect);
+ cg = m_parent->tqpalette().disabled();
bool rc = Transaction::paintRegisterCellSetup(painter, row, col, cellRect, textRect, cg, brush);
return rc;