summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/pivotgrid.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/reports/pivotgrid.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-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/reports/pivotgrid.cpp')
-rw-r--r--kmymoney2/reports/pivotgrid.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/reports/pivotgrid.cpp b/kmymoney2/reports/pivotgrid.cpp
index 9cdf9b3..6a3f773 100644
--- a/kmymoney2/reports/pivotgrid.cpp
+++ b/kmymoney2/reports/pivotgrid.cpp
@@ -18,16 +18,16 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlayout.h>
-#include <qdatetime.h>
-#include <qregexp.h>
-#include <qdragobject.h>
-#include <qclipboard.h>
-#include <qapplication.h>
-#include <qprinter.h>
-#include <qpainter.h>
-#include <qfile.h>
-#include <qdom.h>
+#include <tqlayout.h>
+#include <tqdatetime.h>
+#include <tqregexp.h>
+#include <tqdragobject.h>
+#include <tqclipboard.h>
+#include <tqapplication.h>
+#include <tqprinter.h>
+#include <tqpainter.h>
+#include <tqfile.h>
+#include <tqdom.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -93,12 +93,12 @@ PivotCell PivotCell::stockSplit(const MyMoneyMoney& factor)
return s;
}
-const QString PivotCell::formatMoney(int fraction, bool showThousandSeparator) const
+const TQString PivotCell::formatMoney(int fraction, bool showThousandSeparator) const
{
return formatMoney("", MyMoneyMoney::denomToPrec(fraction), showThousandSeparator);
}
-const QString PivotCell::formatMoney(const QString& currency, const int prec, bool showThousandSeparator) const
+const TQString PivotCell::formatMoney(const TQString& currency, const int prec, bool showThousandSeparator) const
{
// construct the result
MyMoneyMoney res = (*this * m_stockSplit) + m_postSplit;
@@ -132,7 +132,7 @@ PivotGridRowSet::PivotGridRowSet( unsigned _numcolumns )
insert(ePrice, PivotGridRow(_numcolumns));
}
-PivotGridRowSet PivotGrid::rowSet(QString id)
+PivotGridRowSet PivotGrid::rowSet(TQString id)
{
//go through the data and get the row that matches the id