summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/ksplittransactiondlg.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/dialogs/ksplittransactiondlg.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/dialogs/ksplittransactiondlg.h')
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.h b/kmymoney2/dialogs/ksplittransactiondlg.h
index 67a5b92..76261bd 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.h
+++ b/kmymoney2/dialogs/ksplittransactiondlg.h
@@ -51,6 +51,7 @@ class kMyMoneyLineEdit;
class KSplitTransactionDlg : public KSplitTransactionDlgDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
KSplitTransactionDlg(const MyMoneyTransaction& t,
@@ -59,8 +60,8 @@ public:
const bool amountValid,
const bool deposit,
const MyMoneyMoney& calculatedValue,
- const QMap<QString, MyMoneyMoney>& priceInfo,
- QWidget* parent = 0, const char* name = 0);
+ const TQMap<TQString, MyMoneyMoney>& priceInfo,
+ TQWidget* tqparent = 0, const char* name = 0);
virtual ~KSplitTransactionDlg();
@@ -106,7 +107,7 @@ protected slots:
void slotClearAllSplits(void);
void slotClearUnusedSplits(void);
void slotSetTransaction(const MyMoneyTransaction& t);
- void slotCreateCategory(const QString& txt, QString& id);
+ void slotCreateCategory(const TQString& txt, TQString& id);
void slotMergeSplits(void);
/// used internally to setup the initial size of all widgets
@@ -115,13 +116,13 @@ protected slots:
signals:
/**
* This signal is sent out, when a new category needs to be created
- * Depending on the setting of either a payment or deposit, the parent
+ * Depending on the setting of either a payment or deposit, the tqparent
* account will be preset to Expense or Income.
*
* @param account reference to account info. Will be filled by called slot
- * @param parent reference to parent account
+ * @param tqparent reference to tqparent account
*/
- void createCategory(MyMoneyAccount& account, const MyMoneyAccount& parent);
+ void createCategory(MyMoneyAccount& account, const MyMoneyAccount& tqparent);
/**
* Signal is emitted, if any of the widgets enters (@a state equals @a true)