summaryrefslogtreecommitdiffstats
path: root/src/kchmkeyeventfilter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 19:00:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 19:00:37 +0000
commit25794f504692e5a36c490438814e9dfda8aaa2dd (patch)
tree8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kchmkeyeventfilter.h
parent35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff)
downloadkchmviewer-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.h8
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;