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/knowitedit.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/knowitedit.h')
-rw-r--r-- | src/knowitedit.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/knowitedit.h b/src/knowitedit.h index f391468..d225ac6 100644 --- a/src/knowitedit.h +++ b/src/knowitedit.h @@ -21,16 +21,17 @@ class KnowitEdit : public KTextEdit { Q_OBJECT + TQ_OBJECT public: bool swapEOL; - KnowitEdit(const QString& text, const QString& context=QString::null, - QWidget* parent=0, const char* name = 0); - KnowitEdit(QWidget* parent=0, const char* name = 0); - virtual void keyPressEvent(QKeyEvent* e); - virtual void contentsDragEnterEvent(QDragEnterEvent* event); - virtual void contentsDropEvent(QDropEvent* event); + KnowitEdit(const TQString& text, const TQString& context=TQString(), + TQWidget* tqparent=0, const char* name = 0); + KnowitEdit(TQWidget* tqparent=0, const char* name = 0); + virtual void keyPressEvent(TQKeyEvent* e); + virtual void contentsDragEnterEvent(TQDragEnterEvent* event); + virtual void contentsDropEvent(TQDropEvent* event); signals: - void textDropped(const QString& s, int flags); + void textDropped(const TQString& s, int flags); }; |