summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/stdtransactiondownloaded.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/stdtransactiondownloaded.cpp')
-rw-r--r--kmymoney2/widgets/stdtransactiondownloaded.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/widgets/stdtransactiondownloaded.cpp b/kmymoney2/widgets/stdtransactiondownloaded.cpp
index 1305252..503ab15 100644
--- a/kmymoney2/widgets/stdtransactiondownloaded.cpp
+++ b/kmymoney2/widgets/stdtransactiondownloaded.cpp
@@ -34,36 +34,36 @@
using namespace KMyMoneyRegister;
using namespace KMyMoneyTransactionForm;
-StdTransactionDownloaded::StdTransactionDownloaded(Register *parent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId) :
- StdTransaction(parent, transaction, split, uniqueId)
+StdTransactionDownloaded::StdTransactionDownloaded(Register *tqparent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId) :
+ StdTransaction(tqparent, transaction, split, uniqueId)
{
}
-bool StdTransactionDownloaded::paintRegisterCellSetup(QPainter* painter, int& row, int& col, QRect& cellRect, QRect& textRect, QColorGroup& cg, QBrush& brush)
+bool StdTransactionDownloaded::paintRegisterCellSetup(TQPainter* painter, int& row, int& col, TQRect& cellRect, TQRect& textRect, TQColorGroup& cg, TQBrush& brush)
{
bool rc = Transaction::paintRegisterCellSetup(painter, row, col, cellRect, textRect, cg, brush);
// if not selected paint in selected background color
if(!isSelected()) {
- cg.setColor(QColorGroup::Base, KMyMoneyGlobalSettings::importedTransactionColor());
- brush = QBrush(cg.base());
+ cg.setColor(TQColorGroup::Base, KMyMoneyGlobalSettings::importedTransactionColor());
+ brush = TQBrush(cg.base());
}
return rc;
}
-InvestTransactionDownloaded::InvestTransactionDownloaded(Register *parent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId) :
- InvestTransaction(parent, transaction, split, uniqueId)
+InvestTransactionDownloaded::InvestTransactionDownloaded(Register *tqparent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId) :
+ InvestTransaction(tqparent, transaction, split, uniqueId)
{
}
-bool InvestTransactionDownloaded::paintRegisterCellSetup(QPainter* painter, int& row, int& col, QRect& cellRect, QRect& textRect, QColorGroup& cg, QBrush& brush)
+bool InvestTransactionDownloaded::paintRegisterCellSetup(TQPainter* painter, int& row, int& col, TQRect& cellRect, TQRect& textRect, TQColorGroup& cg, TQBrush& brush)
{
bool rc = Transaction::paintRegisterCellSetup(painter, row, col, cellRect, textRect, cg, brush);
// if not selected paint in selected background color
if(!isSelected()) {
- cg.setColor(QColorGroup::Base, KMyMoneyGlobalSettings::importedTransactionColor());
- brush = QBrush(cg.base());
+ cg.setColor(TQColorGroup::Base, KMyMoneyGlobalSettings::importedTransactionColor());
+ brush = TQBrush(cg.base());
}
return rc;
}