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/plugins/customqobject_plugin.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/plugins/customqobject_plugin.h')
-rw-r--r-- | kjsembed/plugins/customqobject_plugin.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kjsembed/plugins/customqobject_plugin.h b/kjsembed/plugins/customqobject_plugin.h index bd419b59..b80ac67a 100644 --- a/kjsembed/plugins/customqobject_plugin.h +++ b/kjsembed/plugins/customqobject_plugin.h @@ -24,7 +24,7 @@ #include <kjsembed/jsbindingplugin.h> #include <kjsembed/jsproxy_imp.h> -#include <qobject.h> +#include <tqobject.h> namespace KJSEmbed { namespace Bindings { @@ -32,33 +32,33 @@ namespace Bindings { class MyCustomQObjectLoader : public JSBindingPlugin { public: - MyCustomQObjectLoader( QObject *parent, const char *name, const QStringList &args ); + MyCustomQObjectLoader( TQObject *parent, const char *name, const TQStringList &args ); virtual ~MyCustomQObjectLoader(){;} KJS::Object createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const; }; -class MyCustomQObjectImp : public QObject { +class MyCustomQObjectImp : public TQObject { Q_OBJECT /** Identifiers for the methods provided by this class. */ enum Mode { On, Off }; Q_PROPERTY(Mode mode READ mode WRITE setMode) - Q_PROPERTY(QString thing READ thing WRITE setThing) + Q_PROPERTY(TQString thing READ thing WRITE setThing) Q_ENUMS(Mode) public: - MyCustomQObjectImp( QObject *parent, const char *name); + MyCustomQObjectImp( TQObject *parent, const char *name); virtual ~MyCustomQObjectImp(); public slots: Mode mode() const; void setMode( Mode md); - QString thing() const; - void setThing( const QString &t); + TQString thing() const; + void setThing( const TQString &t); private: Mode m_mode; - QString m_thing; + TQString m_thing; }; |