diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/plugins/customqobject_plugin.h | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/plugins/customqobject_plugin.h')
-rw-r--r-- | kjsembed/plugins/customqobject_plugin.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/plugins/customqobject_plugin.h b/kjsembed/plugins/customqobject_plugin.h index 9af6aee6..42d7236b 100644 --- a/kjsembed/plugins/customqobject_plugin.h +++ b/kjsembed/plugins/customqobject_plugin.h @@ -32,33 +32,33 @@ namespace Bindings { class MyCustomTQObjectLoader : public JSBindingPlugin { public: - MyCustomTQObjectLoader( TTQObject *parent, const char *name, const TTQStringList &args ); + MyCustomTQObjectLoader( TQObject *parent, const char *name, const TQStringList &args ); virtual ~MyCustomTQObjectLoader(){;} KJS::Object createBinding(KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const; }; -class MyCustomTQObjectImp : public TTQObject { +class MyCustomTQObjectImp : 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(TTQString thing READ thing WRITE setThing) + Q_PROPERTY(TQString thing READ thing WRITE setThing) Q_ENUMS(Mode) public: - MyCustomTQObjectImp( TTQObject *parent, const char *name); + MyCustomTQObjectImp( TQObject *parent, const char *name); virtual ~MyCustomTQObjectImp(); public slots: Mode mode() const; void setMode( Mode md); - TTQString thing() const; - void setThing( const TTQString &t); + TQString thing() const; + void setThing( const TQString &t); private: Mode m_mode; - TTQString m_thing; + TQString m_thing; }; |