summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneystatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneystatement.h')
-rw-r--r--kmymoney2/mymoney/mymoneystatement.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/kmymoney2/mymoney/mymoneystatement.h b/kmymoney2/mymoney/mymoneystatement.h
index 0bea510..a7f8bfe 100644
--- a/kmymoney2/mymoney/mymoneystatement.h
+++ b/kmymoney2/mymoney/mymoneystatement.h
@@ -31,9 +31,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qdatetime.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqdatetime.h>
// ----------------------------------------------------------------------------
// Project Includes
@@ -42,8 +42,8 @@
#include <kmymoney/mymoneymoney.h>
#include <kmymoney/mymoneysplit.h>
-class QDomElement;
-class QDomDocument;
+class TQDomElement;
+class TQDomDocument;
/**
Represents the electronic analog of the paper bank statement just like we used to get in the regular mail. This class is designed to be easy to extend and easy to create with minimal dependencies. So the header file should include as few project files as possible (preferrably NONE).
@@ -60,9 +60,9 @@ public:
class Split {
public:
Split() : m_reconcile(MyMoneySplit::NotReconciled) {}
- QString m_strCategoryName;
- QString m_strMemo;
- QString m_accountId;
+ TQString m_strCategoryName;
+ TQString m_strMemo;
+ TQString m_accountId;
MyMoneySplit::reconcileFlagE m_reconcile;
MyMoneyMoney m_amount;
@@ -71,11 +71,11 @@ public:
class Transaction {
public:
Transaction() : m_reconcile(MyMoneySplit::NotReconciled), m_eAction(eaNone) {}
- QDate m_datePosted;
- QString m_strPayee;
- QString m_strMemo;
- QString m_strNumber;
- QString m_strBankID;
+ TQDate m_datePosted;
+ TQString m_strPayee;
+ TQString m_strMemo;
+ TQString m_strNumber;
+ TQString m_strBankID;
MyMoneyMoney m_amount;
MyMoneySplit::reconcileFlagE m_reconcile;
@@ -86,30 +86,30 @@ public:
MyMoneyMoney m_shares;
MyMoneyMoney m_fees;
MyMoneyMoney m_price;
- QString m_strInterestCategory;
- QString m_strBrokerageAccount;
- QString m_strSymbol;
- QString m_strSecurity;
- QValueList<Split> m_listSplits;
+ TQString m_strInterestCategory;
+ TQString m_strBrokerageAccount;
+ TQString m_strSymbol;
+ TQString m_strSecurity;
+ TQValueList<Split> m_listSplits;
};
struct Price
{
- QDate m_date;
- QString m_strSecurity;
+ TQDate m_date;
+ TQString m_strSecurity;
MyMoneyMoney m_amount;
};
struct Security
{
- QString m_strName;
- QString m_strSymbol;
- QString m_strId;
+ TQString m_strName;
+ TQString m_strSymbol;
+ TQString m_strId;
};
- QString m_strAccountName;
- QString m_strAccountNumber;
- QString m_strRoutingNumber;
+ TQString m_strAccountName;
+ TQString m_strAccountNumber;
+ TQString m_strRoutingNumber;
/**
* The statement provider's information for the statement reader how to find the
@@ -119,26 +119,26 @@ public:
* MyMoneyAccount object for this key. The account id of that account should be returned
* here. If no id is available, leave it empty.
*/
- QString m_accountId;
+ TQString m_accountId;
- QString m_strCurrency;
- QDate m_dateBegin;
- QDate m_dateEnd;
+ TQString m_strCurrency;
+ TQDate m_dateBegin;
+ TQDate m_dateEnd;
MyMoneyMoney m_closingBalance;
EType m_eType;
- QValueList<Transaction> m_listTransactions;
- QValueList<Price> m_listPrices;
- QValueList<Security> m_listSecurities;
+ TQValueList<Transaction> m_listTransactions;
+ TQValueList<Price> m_listPrices;
+ TQValueList<Security> m_listSecurities;
bool m_skipCategoryMatching;
- void write(QDomElement&,QDomDocument*) const;
- bool read(const QDomElement&);
+ void write(TQDomElement&,TQDomDocument*) const;
+ bool read(const TQDomElement&);
- KMYMONEY_EXPORT static bool isStatementFile(const QString&);
- KMYMONEY_EXPORT static bool readXMLFile( MyMoneyStatement&, const QString& );
- KMYMONEY_EXPORT static void writeXMLFile( const MyMoneyStatement&, const QString& );
+ KMYMONEY_EXPORT static bool isStatementFile(const TQString&);
+ KMYMONEY_EXPORT static bool readXMLFile( MyMoneyStatement&, const TQString& );
+ KMYMONEY_EXPORT static void writeXMLFile( const MyMoneyStatement&, const TQString& );
};
#endif