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/kfindtransactiondlg.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/kfindtransactiondlg.h')
-rw-r--r-- | kmymoney2/dialogs/kfindtransactiondlg.h | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/kmymoney2/dialogs/kfindtransactiondlg.h b/kmymoney2/dialogs/kfindtransactiondlg.h index edf9504..bd0cb7a 100644 --- a/kmymoney2/dialogs/kfindtransactiondlg.h +++ b/kmymoney2/dialogs/kfindtransactiondlg.h @@ -20,9 +20,9 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qlistview.h> -#include <qdatetime.h> -#include <qmap.h> +#include <tqlistview.h> +#include <tqdatetime.h> +#include <tqmap.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -36,8 +36,8 @@ #include "../dialogs/kfindtransactiondlgdecl.h" -class QListView; -class QListViewItem; +class TQListView; +class TQListViewItem; /** * @author Thomas Baumgart @@ -45,6 +45,7 @@ class QListViewItem; class KFindTransactionDlg : public KFindTransactionDlgDecl { Q_OBJECT + TQ_OBJECT public: /* @@ -77,16 +78,16 @@ public: dateOptionCount }; */ - KFindTransactionDlg(QWidget *parent=0, const char *name=0); + KFindTransactionDlg(TQWidget *tqparent=0, const char *name=0); ~KFindTransactionDlg() {} - virtual bool eventFilter( QObject *o, QEvent *e ); + virtual bool eventFilter( TQObject *o, TQEvent *e ); public slots: void show(void); protected: - void resizeEvent(QResizeEvent*); + void resizeEvent(TQResizeEvent*); protected slots: virtual void slotReset(void); @@ -117,7 +118,7 @@ protected slots: /** * This slot selects the current selected transaction/split and emits - * the signal @a transactionSelected(const QString& accountId, const QString& transactionId) + * the signal @a transactionSelected(const TQString& accountId, const TQString& transactionId) */ void slotSelectTransaction(void); @@ -126,7 +127,7 @@ protected slots: void slotSortOptions(void); signals: - void transactionSelected(const QString& accountId, const QString& transactionId); + void transactionSelected(const TQString& accountId, const TQString& transactionId); /** * This signal is sent out when no selection has been made. It is @@ -150,10 +151,10 @@ protected: void setupFilter(void); - void selectAllItems(QListView* view, const bool state); - void selectAllSubItems(QListViewItem* item, const bool state); - void selectItems(QListView* view, const QStringList& list, const bool state); - void selectSubItems(QListViewItem* item, const QStringList& list, const bool state); + void selectAllItems(TQListView* view, const bool state); + void selectAllSubItems(TQListViewItem* item, const bool state); + void selectItems(TQListView* view, const TQStringList& list, const bool state); + void selectSubItems(TQListViewItem* item, const TQStringList& list, const bool state); /** * This method loads the m_payeesView with the payees name @@ -177,25 +178,25 @@ protected: * * @note If the view contains no items the method returns @p true. */ - bool allItemsSelected(const QListView* view) const; - bool allItemsSelected(const QListViewItem *item) const; + bool allItemsSelected(const TQListView* view) const; + bool allItemsSelected(const TQListViewItem *item) const; - void scanCheckListItems(const QListView* view, const opTypeE op); - void scanCheckListItems(const QListViewItem* item, const opTypeE op); - void addItemToFilter(const opTypeE op, const QString& id); + void scanCheckListItems(const TQListView* view, const opTypeE op); + void scanCheckListItems(const TQListViewItem* item, const opTypeE op); + void addItemToFilter(const opTypeE op, const TQString& id); protected: - QDate m_startDates[MyMoneyTransactionFilter::dateOptionCount]; - QDate m_endDates[MyMoneyTransactionFilter::dateOptionCount]; + TQDate m_startDates[MyMoneyTransactionFilter::dateOptionCount]; + TQDate m_endDates[MyMoneyTransactionFilter::dateOptionCount]; /** * This member holds a list of all transactions matching the filter criteria */ - QValueList<QPair<MyMoneyTransaction, MyMoneySplit> > m_transactionList; + TQValueList<TQPair<MyMoneyTransaction, MyMoneySplit> > m_transactionList; MyMoneyTransactionFilter m_filter; - QMap<QWidget*, QString> m_helpAnchor; + TQMap<TQWidget*, TQString> m_helpAnchor; bool m_needReload; }; |