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/dialogs/kreconciledlg.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/dialogs/kreconciledlg.h')
-rw-r--r-- | kmymoney2/dialogs/kreconciledlg.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/kmymoney2/dialogs/kreconciledlg.h b/kmymoney2/dialogs/kreconciledlg.h index 9ddb079..214c583 100644 --- a/kmymoney2/dialogs/kreconciledlg.h +++ b/kmymoney2/dialogs/kreconciledlg.h @@ -17,9 +17,9 @@ #ifndef KRECONCILEDLG_H #define KRECONCILEDLG_H -#include <qlabel.h> +#include <tqlabel.h> #include <klistview.h> -#include <qpushbutton.h> +#include <tqpushbutton.h> #include "../mymoney/mymoneyfile.h" #include "../mymoney/mymoneymoney.h" @@ -29,19 +29,20 @@ // This dialog is used for reconciliation. class KReconcileDlg : public KReconcileDlgDecl { Q_OBJECT + TQ_OBJECT public: - KReconcileDlg(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const QDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file, QWidget *parent=0, const char *name=0); + KReconcileDlg(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const TQDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file, TQWidget *tqparent=0, const char *name=0); ~KReconcileDlg(); // void updateData(void); - void resetData(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const QDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file); + void resetData(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const TQDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file); /** No descriptions */ protected: - void resizeEvent(QResizeEvent*); + void resizeEvent(TQResizeEvent*); protected slots: - void slotDebitSelected(QListViewItem*, const QPoint&, int); - void slotCreditSelected(QListViewItem*, const QPoint&, int); + void slotDebitSelected(TQListViewItem*, const TQPoint&, int); + void slotCreditSelected(TQListViewItem*, const TQPoint&, int); void finishClicked(); void cancelClicked(); /** No descriptions */ @@ -61,13 +62,13 @@ private: //MyMoneyBank m_bankIndex; MyMoneyAccount *m_accountIndex; - QList<MyMoneyTransaction> m_debitsQList; - QList<MyMoneyTransaction> m_creditsQList; - QList<MyMoneyTransaction> m_reconciledTransactions; + TQList<MyMoneyTransaction> m_debitsTQList; + TQList<MyMoneyTransaction> m_creditsTQList; + TQList<MyMoneyTransaction> m_reconciledTransactions; bool m_balanced; // true when the account is balanced (determined by doDifference) - QDate m_endingDate; + TQDate m_endingDate; void loadLists(void); void insertTransactions(void); |