diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
commit | 25794f504692e5a36c490438814e9dfda8aaa2dd (patch) | |
tree | 8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kchmkeyeventfilter.h | |
parent | 35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff) | |
download | kchmviewer-25794f50.tar.gz kchmviewer-25794f50.zip |
TQt4 port kchmviewer
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmkeyeventfilter.h')
-rw-r--r-- | src/kchmkeyeventfilter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kchmkeyeventfilter.h b/src/kchmkeyeventfilter.h index 7375293..1fd70d6 100644 --- a/src/kchmkeyeventfilter.h +++ b/src/kchmkeyeventfilter.h @@ -22,14 +22,14 @@ #ifndef INCLUDE_KCHMKEYEVENTFILTER_H #define INCLUDE_KCHMKEYEVENTFILTER_H -#include <qobject.h> +#include <tqobject.h> /*!* * This class must be installed as a global event handler. Its responsibility * is to intercept keyboard events, and store the Shift and Ctrl keys state information. - * Unfortunately it seems to be the only way to do it in Qt. + * Unfortunately it seems to be the only way to do it in TQt. */ -class KCHMKeyEventFilter : public QObject +class KCHMKeyEventFilter : public TQObject { public: KCHMKeyEventFilter(); @@ -38,7 +38,7 @@ class KCHMKeyEventFilter : public QObject bool isCtrlPressed() const { return m_ctrlPressed; } private: - bool eventFilter( QObject *, QEvent *e ); + bool eventFilter( TQObject *, TQEvent *e ); bool m_shiftPressed; bool m_ctrlPressed; |