summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter/mymoneyqifwriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/converter/mymoneyqifwriter.h')
-rw-r--r--kmymoney2/converter/mymoneyqifwriter.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/kmymoney2/converter/mymoneyqifwriter.h b/kmymoney2/converter/mymoneyqifwriter.h
index f77e612..1398161 100644
--- a/kmymoney2/converter/mymoneyqifwriter.h
+++ b/kmymoney2/converter/mymoneyqifwriter.h
@@ -20,14 +20,14 @@
* *
***************************************************************************/
-#ifndef MYMONEYQIFWRITER_H
-#define MYMONEYQIFWRITER_H
+#ifndef MYMONEYTQIFWRITER_H
+#define MYMONEYTQIFWRITER_H
// ----------------------------------------------------------------------------
// QT Headers
-#include <qobject.h>
-#include <qdatetime.h>
+#include <tqobject.h>
+#include <tqdatetime.h>
// ----------------------------------------------------------------------------
// KDE Headers
@@ -44,14 +44,15 @@ class MyMoneySplit;
*/
/**
- * This class represents the QIF writer. All conversion between the
+ * This class represents the TQIF writer. All conversion between the
* internal representation of accounts, transactions is handled in this
* object. The conversion is controlled using a MyMoneyQifProfile to allow
* the user to control the conversion.
*/
-class MyMoneyQifWriter : public QObject
+class MyMoneyQifWriter : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
MyMoneyQifWriter();
@@ -70,10 +71,10 @@ public:
* @param startDate Transations before this date will not be exported
* @param endDate Transactions after this date will not be exported
*/
- void write(const QString& filename, const QString& profile,
- const QString& accountId, const bool accountData,
+ void write(const TQString& filename, const TQString& profile,
+ const TQString& accountId, const bool accountData,
const bool categoryData,
- const QDate& startDate, const QDate& endDate);
+ const TQDate& startDate, const TQDate& endDate);
private:
/**
@@ -87,7 +88,7 @@ private:
* @param startDate date from which entries are written
* @param endDate date until which entries are written
*/
- void writeAccountEntry(QTextStream& s, const QString& accountId, const QDate& startDate, const QDate& endDate);
+ void writeAccountEntry(TQTextStream& s, const TQString& accountId, const TQDate& startDate, const TQDate& endDate);
/**
* This method writes the category entries to the stream
@@ -96,7 +97,7 @@ private:
*
* @param s reference to textstream
*/
- void writeCategoryEntries(QTextStream& s);
+ void writeCategoryEntries(TQTextStream& s);
/**
* This method writes the category entry for account with
@@ -107,10 +108,10 @@ private:
* @param accountId id of the account to be written
* @param leadIn constant text that will be prepended to the account's name
*/
- void writeCategoryEntry(QTextStream& s, const QString& accountId, const QString& leadIn);
+ void writeCategoryEntry(TQTextStream& s, const TQString& accountId, const TQString& leadIn);
- void writeTransactionEntry(QTextStream &s, const MyMoneyTransaction& t, const QString& accountId);
- void writeSplitEntry(QTextStream &s, const MyMoneySplit& t);
+ void writeTransactionEntry(TQTextStream &s, const MyMoneyTransaction& t, const TQString& accountId);
+ void writeSplitEntry(TQTextStream &s, const MyMoneySplit& t);
signals:
/**