summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsobjecteventproxy.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/jsobjecteventproxy.h
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/jsobjecteventproxy.h')
-rw-r--r--kjsembed/jsobjecteventproxy.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kjsembed/jsobjecteventproxy.h b/kjsembed/jsobjecteventproxy.h
index 2ef662ae..e05c2b1f 100644
--- a/kjsembed/jsobjecteventproxy.h
+++ b/kjsembed/jsobjecteventproxy.h
@@ -32,12 +32,12 @@ namespace KJSEmbed {
class JSObjectProxy;
/**
- * Filters events for a TQObject and forwards them to a JS handler.
+ * Filters events for a TTQObject and forwards them to a JS handler.
*
* @version $Id$
* @author Richard Moore, rich@kde.org
*/
-class KJSEMBED_EXPORT JSObjectEventProxy : public QObject
+class KJSEMBED_EXPORT JSObjectEventProxy : public TQObject
{
Q_OBJECT
@@ -46,26 +46,26 @@ public:
virtual ~JSObjectEventProxy();
/** Returns true iff we forward the event type to JS. */
- bool isFiltered( TQEvent::Type t ) const;
+ bool isFiltered( TTQEvent::Type t ) const;
/** Adds an event type to those we forward to JS. */
- void addFilter( TQEvent::Type t );
+ void addFilter( TTQEvent::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( TQEvent::Type t );
+ void removeFilter( TTQEvent::Type t );
/** Reimplemented to forward events to JS. */
- bool eventFilter ( TQObject *watched, TQEvent *e );
+ bool eventFilter ( TTQObject *watched, TTQEvent *e );
protected:
- KJS::Value callHandler( TQEvent *e );
+ KJS::Value callHandler( TTQEvent *e );
private:
JSObjectProxy *proxy;
- TQBitArray eventMask;
+ TTQBitArray eventMask;
uint refcount;
class JSObjectEventProxyPrivate *d;
};