diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:20:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:20:52 +0000 |
commit | e86f8310a920cbf1ecfac955fbad05916e954693 (patch) | |
tree | ddc018560d03c6aa794d9f399d006e5e3aa597f0 /src/knowittree.h | |
parent | 1829a84466f690d4a6a10ddab91cea0f45ec9d77 (diff) | |
download | knowit-e86f8310a920cbf1ecfac955fbad05916e954693.tar.gz knowit-e86f8310a920cbf1ecfac955fbad05916e954693.zip |
TQt4 port knowit
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knowit@1238876 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knowittree.h')
-rw-r--r-- | src/knowittree.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/knowittree.h b/src/knowittree.h index 85ba50c..fb144d8 100644 --- a/src/knowittree.h +++ b/src/knowittree.h @@ -17,17 +17,18 @@ #ifndef __KNOWIT_TREE_H__ #define __KNOWIT_TREE_H__ #include <klistview.h> -class QDragMoveEvent; +class TQDragMoveEvent; class KnowitTree : public KListView { Q_OBJECT + TQ_OBJECT public: - KnowitTree(QWidget* parent=0, const char* name = 0); - QListViewItem* prevItem; - void takeNode(QListViewItem* item); - void insertNode(QListViewItem* parent, QListViewItem* item, QListViewItem* after = 0); + KnowitTree(TQWidget* tqparent=0, const char* name = 0); + TQListViewItem* prevItem; + void takeNode(TQListViewItem* item); + void insertNode(TQListViewItem* tqparent, TQListViewItem* item, TQListViewItem* after = 0); protected: - virtual void contentsDragMoveEvent(QDragMoveEvent* event); + virtual void contentsDragMoveEvent(TQDragMoveEvent* event); public slots: /** Shows only first-level notes */ void slotCollapseAll(); |