summaryrefslogtreecommitdiffstats
path: root/kjsembed/jseventmapper.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/jseventmapper.h
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/jseventmapper.h')
-rw-r--r--kjsembed/jseventmapper.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/jseventmapper.h b/kjsembed/jseventmapper.h
index 3539e94a..f086a982 100644
--- a/kjsembed/jseventmapper.h
+++ b/kjsembed/jseventmapper.h
@@ -32,7 +32,7 @@
namespace KJSEmbed {
/**
- * Maintains a map between the types of TQEvent and the names of their event
+ * Maintains a map between the types of TTQEvent and the names of their event
* handlers.
*
* @author Richard Moore, rich@kde.org
@@ -47,7 +47,7 @@ public:
* Adds an event to the map. The event handler has the specified name, and
* the event has the specified type.
*/
- void addEvent( const KJS::Identifier &name, TQEvent::Type t );
+ void addEvent( const KJS::Identifier &name, TTQEvent::Type t );
/** Returns true iff the specified name is the identifier for an event handler. */
bool isEventHandler( const KJS::Identifier &name ) const {
@@ -55,13 +55,13 @@ public:
}
/** Returns the type of the events handled by the specified handler. */
- TQEvent::Type findEventType( const KJS::Identifier &name ) const;
+ TTQEvent::Type findEventType( const KJS::Identifier &name ) const;
- KJS::Identifier *findEventHandler( TQEvent::Type t ) const { return eventToHandler.find(t); }
+ KJS::Identifier *findEventHandler( TTQEvent::Type t ) const { return eventToHandler.find(t); }
private:
- TQDict<uint> handlerToEvent;
- TQIntDict<KJS::Identifier> eventToHandler;
+ TTQDict<uint> handlerToEvent;
+ TTQIntDict<KJS::Identifier> eventToHandler;
class JSEventMapperPrivate *d;
};