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