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/knowitlinks.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/knowitlinks.h')
-rw-r--r-- | src/knowitlinks.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/knowitlinks.h b/src/knowitlinks.h index 24606a7..641f834 100644 --- a/src/knowitlinks.h +++ b/src/knowitlinks.h @@ -19,21 +19,22 @@ #define __KNOWIT_LINKS_H__ #include <klistbox.h> -class QDropEvent; -class QKeyEvent; -class QDragEnterEvent; +class TQDropEvent; +class TQKeyEvent; +class TQDragEnterEvent; class KnowitLinks : public KListBox { Q_OBJECT + TQ_OBJECT public: - KnowitLinks(QWidget* parent=0, const char* name = 0); + KnowitLinks(TQWidget* tqparent=0, const char* name = 0); protected: - virtual void dragEnterEvent(QDragEnterEvent* event); - virtual void dropEvent(QDropEvent* event); - virtual void keyPressEvent(QKeyEvent* e); + virtual void dragEnterEvent(TQDragEnterEvent* event); + virtual void dropEvent(TQDropEvent* event); + virtual void keyPressEvent(TQKeyEvent* e); signals: - void textDropped(const QString& s, int flags); + void textDropped(const TQString& s, int flags); void linkRemove(); void linkOpen(); void linkOpenWith(); |