diff options
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; }; |