summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/pivottable.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/reports/pivottable.h')
-rw-r--r--kmymoney2/reports/pivottable.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kmymoney2/reports/pivottable.h b/kmymoney2/reports/pivottable.h
index 226c9a5..26ac53c 100644
--- a/kmymoney2/reports/pivottable.h
+++ b/kmymoney2/reports/pivottable.h
@@ -22,8 +22,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qmap.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -76,15 +76,15 @@ public:
/**
* Render the report to an HTML stream.
*
- * @return QString HTML string representing the report
+ * @return TQString HTML string representing the report
*/
- QString renderHTML( void ) const;
+ TQString renderHTML( void ) const;
/**
* Render the report to a comma-separated-values stream.
*
- * @return QString CSV string representing the report
+ * @return TQString CSV string representing the report
*/
- QString renderCSV( void ) const;
+ TQString renderCSV( void ) const;
/**
* Render the report to a graphical chart
@@ -99,7 +99,7 @@ public:
* @param file The filename to dump into
* @param context unused, but provided for interface compatibility
*/
- void dump( const QString& file, const QString& context=QString()) const;
+ void dump( const TQString& file, const TQString& context=TQString()) const;
/**
* Returns the grid generated by the report
@@ -114,10 +114,10 @@ private:
PivotGrid m_grid;
- QStringList m_columnHeadings;
+ TQStringList m_columnHeadings;
unsigned m_numColumns;
- QDate m_beginDate;
- QDate m_endDate;
+ TQDate m_beginDate;
+ TQDate m_endDate;
bool m_runningSumsCalculated;
/**
@@ -125,17 +125,17 @@ private:
* the budget for it. If an account is not contained in this map, it is not included
* in the budget.
*/
- QMap<QString, QString> m_budgetMap;
+ TQMap<TQString, TQString> m_budgetMap;
/**
* This list contains the types of PivotGridRows that are going to be shown in the report
*/
- QValueList<ERowType> m_rowTypeList;
+ TQValueList<ERowType> m_rowTypeList;
/**
* This list contains the i18n headers for the column types
*/
- QValueList<QString> m_columnTypeHeaderList;
+ TQValueList<TQString> m_columnTypeHeaderList;
MyMoneyReport m_config_f;
@@ -153,7 +153,7 @@ private:
* with $red, $green and $blue being the actual value for the
* chosen color.
*/
- QString coloredAmount(const MyMoneyMoney& amount, const QString& currencySymbol = QString(), int prec = 2 ) const;
+ TQString coloredAmount(const MyMoneyMoney& amount, const TQString& currencySymbol = TQString(), int prec = 2 ) const;
protected:
/**
@@ -165,9 +165,9 @@ protected:
*
* @param outergroup The outer row group
* @param row The row itself
- * @param recursive Whether to also recursively create rows for our parent accounts
+ * @param recursive Whether to also recursively create rows for our tqparent accounts
*/
- void createRow( const QString& outergroup, const ReportAccount& row, bool recursive );
+ void createRow( const TQString& outergroup, const ReportAccount& row, bool recursive );
/**
* Assigns a value into the grid
@@ -183,7 +183,7 @@ protected:
* @param stockSplit Wheter this is a stock split (@p true) or an actual
* value (@p false). Defaults to @p false.
*/
- inline void assignCell( const QString& outergroup, const ReportAccount& row, unsigned column, MyMoneyMoney value, bool budget = false, bool stockSplit = false );
+ inline void assignCell( const TQString& outergroup, const ReportAccount& row, unsigned column, MyMoneyMoney value, bool budget = false, bool stockSplit = false );
/**
* Create a row for each included account. This is used when
@@ -207,7 +207,7 @@ protected:
* in the user's hierarchy and the account where the budget is held for it.
* This is needed because the user can budget on a given account for that
* account and all its descendants. Also if NO budget is placed on the
- * account or any of its parents, the account is not included in the map.
+ * account or any of its tqparents, the account is not included in the map.
*/
void calculateBudgetMapping( void );
@@ -317,19 +317,19 @@ protected:
*
* @param _date The date
*/
- unsigned columnValue(const QDate& _date) const;
+ unsigned columnValue(const TQDate& _date) const;
/**
* Calculate the date of the last day covered by a given column.
*
* @param column The column
*/
- QDate columnDate(int column) const;
+ TQDate columnDate(int column) const;
/**
* Returns the balance of a given cell. Throws an exception once calculateRunningSums() has been run.
*/
- MyMoneyMoney cellBalance(const QString& outergroup, const ReportAccount& _row, unsigned column, bool budget);
+ MyMoneyMoney cellBalance(const TQString& outergroup, const ReportAccount& _row, unsigned column, bool budget);
/**
* Draws a PivotGridRowSet in a chart for the given ERowType