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/kmymoneypriceview.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/kmymoneypriceview.h')
-rw-r--r-- | kmymoney2/widgets/kmymoneypriceview.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/kmymoney2/widgets/kmymoneypriceview.h b/kmymoney2/widgets/kmymoneypriceview.h index 56907ac..0de47ef 100644 --- a/kmymoney2/widgets/kmymoneypriceview.h +++ b/kmymoney2/widgets/kmymoneypriceview.h @@ -21,8 +21,8 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qwidget.h> -// class QListViewItem; +#include <tqwidget.h> +// class TQListViewItem; // ---------------------------------------------------------------------------- // KDE Includes @@ -47,7 +47,7 @@ public: KMyMoneyPriceItem(KListView *, const MyMoneyPrice& pr); ~KMyMoneyPriceItem() {} - int compare(QListViewItem *p, int col, bool ascending) const; + int compare(TQListViewItem *p, int col, bool ascending) const; const MyMoneyPrice& price(void) const { return m_pr; }; @@ -59,16 +59,17 @@ private: class KMyMoneyPriceView : public KListView { Q_OBJECT + TQ_OBJECT public: - KMyMoneyPriceView(QWidget *parent=0, const char *name=0); + KMyMoneyPriceView(TQWidget *tqparent=0, const char *name=0); ~KMyMoneyPriceView(); protected: /// the resize event - virtual void resizeEvent(QResizeEvent*); + virtual void resizeEvent(TQResizeEvent*); protected slots: - void slotListClicked(QListViewItem* item, const QPoint&, int); + void slotListClicked(TQListViewItem* item, const TQPoint&, int); private slots: void slotTimerDone(void); |