From 479f5f799523bffbcc83dff581a2299c047c6fff Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:44:01 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjsembed/jsobjecteventproxy.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kjsembed/jsobjecteventproxy.h') 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 -#include +#include +#include #include #include @@ -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; }; -- cgit v1.2.1