summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyaccounttree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneyaccounttree.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttree.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccounttree.cpp b/kmymoney2/widgets/kmymoneyaccounttree.cpp
index 1b669ef..f74a8f8 100644
--- a/kmymoney2/widgets/kmymoneyaccounttree.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttree.cpp
@@ -18,15 +18,15 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qpoint.h>
-#include <qevent.h>
-#include <qdragobject.h>
-#include <qtimer.h>
-#include <qcursor.h>
-#include <qheader.h>
-#include <qpainter.h>
-#include <qpixmap.h>
-#include <qstyle.h>
+#include <tqpoint.h>
+#include <tqevent.h>
+#include <tqdragobject.h>
+#include <tqtimer.h>
+#include <tqcursor.h>
+#include <tqheader.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
+#include <tqstyle.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -46,38 +46,38 @@
#include <kmymoney/kmymoneyutils.h>
-KMyMoneyAccountTree::KMyMoneyAccountTree(QWidget* parent, const char *name) :
- KMyMoneyAccountTreeBase(parent,name)
+KMyMoneyAccountTree::KMyMoneyAccountTree(TQWidget* tqparent, const char *name) :
+ KMyMoneyAccountTreeBase(tqparent,name)
{
showType();
m_taxReportColumn = addColumn(i18n("Column heading for category in tax report", "Tax"));
- setColumnWidthMode(m_taxReportColumn, QListView::Manual);
- setColumnAlignment(m_taxReportColumn, Qt::AlignHCenter);
+ setColumnWidthMode(m_taxReportColumn, TQListView::Manual);
+ setColumnAlignment(m_taxReportColumn, TQt::AlignHCenter);
m_vatCategoryColumn = addColumn(i18n("Column heading for VAT category", "VAT"));
- setColumnWidthMode(m_vatCategoryColumn, QListView::Manual);
- setColumnAlignment(m_vatCategoryColumn, Qt::AlignHCenter);
+ setColumnWidthMode(m_vatCategoryColumn, TQListView::Manual);
+ setColumnAlignment(m_vatCategoryColumn, TQt::AlignHCenter);
showValue();
}
-KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KListView *parent, const MyMoneyAccount& account, const MyMoneySecurity& security , const QString& name) :
- KMyMoneyAccountTreeBaseItem(parent,account,security,name),
+KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KListView *tqparent, const MyMoneyAccount& account, const MyMoneySecurity& security , const TQString& name) :
+ KMyMoneyAccountTreeBaseItem(tqparent,account,security,name),
m_reconcileFlag(false)
{
updateAccount();
}
-KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KMyMoneyAccountTreeBaseItem *parent, const MyMoneyAccount& account, const QValueList<MyMoneyPrice>& price, const MyMoneySecurity& security) :
- KMyMoneyAccountTreeBaseItem(parent,account,price,security),
+KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KMyMoneyAccountTreeBaseItem *tqparent, const MyMoneyAccount& account, const TQValueList<MyMoneyPrice>& price, const MyMoneySecurity& security) :
+ KMyMoneyAccountTreeBaseItem(tqparent,account,price,security),
m_reconcileFlag(false)
{
updateAccount();
}
-KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KListView *parent, const MyMoneyInstitution& institution) :
- KMyMoneyAccountTreeBaseItem(parent,institution),
+KMyMoneyAccountTreeItem::KMyMoneyAccountTreeItem(KListView *tqparent, const MyMoneyInstitution& institution) :
+ KMyMoneyAccountTreeBaseItem(tqparent,institution),
m_reconcileFlag(false)
{
}
@@ -88,7 +88,7 @@ void KMyMoneyAccountTreeItem::fillColumns()
if (!lv)
return;
KMyMoneyAccountTreeBaseItem::fillColumns();
- QPixmap checkMark = QPixmap(KGlobal::iconLoader()->loadIcon("ok", KIcon::Small));
+ TQPixmap checkMark = TQPixmap(KGlobal::iconLoader()->loadIcon("ok", KIcon::Small));
MyMoneyMoney vatRate;
if (!isInstitution())
setPixmap(lv->nameColumn(), m_account.accountPixmap(m_reconcileFlag, 22));
@@ -104,7 +104,7 @@ void KMyMoneyAccountTreeItem::fillColumns()
}
if(!m_account.value("VatRate").isEmpty()) {
vatRate = MyMoneyMoney(m_account.value("VatRate")) * MyMoneyMoney(100,1);
- setText(lv->vatCategoryColumn(), QString("%1 %").arg(vatRate.formatMoney("", 1)));
+ setText(lv->vatCategoryColumn(), TQString("%1 %").tqarg(vatRate.formatMoney("", 1)));
}
break;
default: