summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/selectedtransaction.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/widgets/selectedtransaction.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/widgets/selectedtransaction.h')
-rw-r--r--kmymoney2/widgets/selectedtransaction.h8
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() {}