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/jseventmapper.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kjsembed/jseventmapper.h') diff --git a/kjsembed/jseventmapper.h b/kjsembed/jseventmapper.h index cdcb4630..3539e94a 100644 --- a/kjsembed/jseventmapper.h +++ b/kjsembed/jseventmapper.h @@ -22,9 +22,9 @@ #ifndef JSEVENTMAPPER_H #define JSEVENTMAPPER_H -#include -#include -#include +#include +#include +#include #include #include @@ -32,7 +32,7 @@ namespace KJSEmbed { /** - * Maintains a map between the types of QEvent and the names of their event + * Maintains a map between the types of TQEvent 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, QEvent::Type t ); + void addEvent( const KJS::Identifier &name, TQEvent::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. */ - QEvent::Type findEventType( const KJS::Identifier &name ) const; + TQEvent::Type findEventType( const KJS::Identifier &name ) const; - KJS::Identifier *findEventHandler( QEvent::Type t ) const { return eventToHandler.find(t); } + KJS::Identifier *findEventHandler( TQEvent::Type t ) const { return eventToHandler.find(t); } private: - QDict handlerToEvent; - QIntDict eventToHandler; + TQDict handlerToEvent; + TQIntDict eventToHandler; class JSEventMapperPrivate *d; }; -- cgit v1.2.1