summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneystatement.h
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/mymoney/mymoneystatement.h
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/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