summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsobjecteventproxy.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/jsobjecteventproxy.h
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/jsobjecteventproxy.h')
-rw-r--r--kjsembed/jsobjecteventproxy.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kjsembed/jsobjecteventproxy.h b/kjsembed/jsobjecteventproxy.h
index de9f2e11..2ef662ae 100644
--- a/kjsembed/jsobjecteventproxy.h
+++ b/kjsembed/jsobjecteventproxy.h
@@ -22,8 +22,8 @@
#ifndef KJSEMBED_JSOBJECTEVENTPROXY_H
#define KJSEMBED_JSOBJECTEVENTPROXY_H
-#include <qbitarray.h>
-#include <qobject.h>
+#include <tqbitarray.h>
+#include <tqobject.h>
#include <kjs/object.h>
#include <global.h>
@@ -32,7 +32,7 @@ namespace KJSEmbed {
class JSObjectProxy;
/**
- * Filters events for a QObject and forwards them to a JS handler.
+ * Filters events for a TQObject and forwards them to a JS handler.
*
* @version $Id$
* @author Richard Moore, rich@kde.org
@@ -46,26 +46,26 @@ public:
virtual ~JSObjectEventProxy();
/** Returns true iff we forward the event type to JS. */
- bool isFiltered( QEvent::Type t ) const;
+ bool isFiltered( TQEvent::Type t ) const;
/** Adds an event type to those we forward to JS. */
- void addFilter( QEvent::Type t );
+ void addFilter( TQEvent::Type t );
/**
* Removes an event type from those we forward to JS. If there are no
* event types left to forward then we self-destruct.
*/
- void removeFilter( QEvent::Type t );
+ void removeFilter( TQEvent::Type t );
/** Reimplemented to forward events to JS. */
- bool eventFilter ( QObject *watched, QEvent *e );
+ bool eventFilter ( TQObject *watched, TQEvent *e );
protected:
- KJS::Value callHandler( QEvent *e );
+ KJS::Value callHandler( TQEvent *e );
private:
JSObjectProxy *proxy;
- QBitArray eventMask;
+ TQBitArray eventMask;
uint refcount;
class JSObjectEventProxyPrivate *d;
};