diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/selectedtransaction.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-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/widgets/selectedtransaction.h')
-rw-r--r-- | kmymoney2/widgets/selectedtransaction.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/selectedtransaction.h b/kmymoney2/widgets/selectedtransaction.h index 0b82020..172824f 100644 --- a/kmymoney2/widgets/selectedtransaction.h +++ b/kmymoney2/widgets/selectedtransaction.h @@ -37,7 +37,7 @@ class SelectedTransaction { public: SelectedTransaction() {} - SelectedTransaction(const MyMoneyTransaction& t, const MyMoneySplit& s, const QString& scheduleId = QString()) : + SelectedTransaction(const MyMoneyTransaction& t, const MyMoneySplit& s, const TQString& scheduleId = TQString()) : m_transaction(t), m_split(s), m_scheduleId(scheduleId) {} MyMoneyTransaction& transaction(void) { return m_transaction; } @@ -46,7 +46,7 @@ public: const MyMoneySplit& split(void) const { return m_split; } bool isScheduled(void) const { return !m_scheduleId.isEmpty(); } - const QString& scheduleId(void) const { return m_scheduleId; } + const TQString& scheduleId(void) const { return m_scheduleId; } /** * checks the transaction for specific reasons which would @@ -61,12 +61,12 @@ public: private: MyMoneyTransaction m_transaction; MyMoneySplit m_split; - QString m_scheduleId; + TQString m_scheduleId; }; class Register; -class SelectedTransactions:public QValueList<SelectedTransaction> +class SelectedTransactions:public TQValueList<SelectedTransaction> { public: SelectedTransactions() {} |