summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneypriceview.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/kmymoneypriceview.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/kmymoneypriceview.h')
-rw-r--r--kmymoney2/widgets/kmymoneypriceview.h13
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);