diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/jseventmapper.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-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/jseventmapper.h')
-rw-r--r-- | kjsembed/jseventmapper.h | 18 |
1 files changed, 9 insertions, 9 deletions
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 <qdict.h> -#include <qevent.h> -#include <qintdict.h> +#include <tqdict.h> +#include <tqevent.h> +#include <tqintdict.h> #include <kjs/identifier.h> #include <kjsembed/jsbinding.h> @@ -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<uint> handlerToEvent; - QIntDict<KJS::Identifier> eventToHandler; + TQDict<uint> handlerToEvent; + TQIntDict<KJS::Identifier> eventToHandler; class JSEventMapperPrivate *d; }; |