diff options
Diffstat (limited to 'kjsembed/plugins/customqobject_plugin.cpp')
-rw-r--r-- | kjsembed/plugins/customqobject_plugin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/plugins/customqobject_plugin.cpp b/kjsembed/plugins/customqobject_plugin.cpp index f8c45a60..6d1fccc7 100644 --- a/kjsembed/plugins/customqobject_plugin.cpp +++ b/kjsembed/plugins/customqobject_plugin.cpp @@ -24,7 +24,7 @@ #include <kjsembed/jsbinding.h> #include <kjsembed/kjsembedpart.h> #include <kjsembed/customobject_imp.h> -#include <qvariant.h> +#include <tqvariant.h> #include "customqobject_plugin.h" @@ -32,7 +32,7 @@ namespace KJSEmbed { namespace Bindings { -MyCustomQObjectLoader::MyCustomQObjectLoader( QObject *parent, const char *name, const QStringList &args ) : +MyCustomQObjectLoader::MyCustomQObjectLoader( TQObject *parent, const char *name, const TQStringList &args ) : JSBindingPlugin(parent, name, args) { } @@ -41,7 +41,7 @@ KJS::Object MyCustomQObjectLoader::createBinding(KJSEmbedPart *jspart, KJS::Exec { kdDebug() << "Loading a custom object" << endl; - QObject *parent = 0L; + TQObject *parent = 0L; JSObjectProxy *proxy = JSProxy::toObjectProxy( args[0].imp() ); if ( proxy ) parent = proxy->object(); @@ -54,8 +54,8 @@ KJS::Object MyCustomQObjectLoader::createBinding(KJSEmbedPart *jspart, KJS::Exec return proxyObj; } -MyCustomQObjectImp::MyCustomQObjectImp(QObject *parent, const char *name ) - : QObject(parent, name) +MyCustomQObjectImp::MyCustomQObjectImp(TQObject *parent, const char *name ) + : TQObject(parent, name) { kdDebug() << "New MyCustomQObjectImp " << endl; } @@ -74,12 +74,12 @@ void MyCustomQObjectImp::setMode( Mode md) kdDebug() << "setMode() " << endl; m_mode = md; } -QString MyCustomQObjectImp::thing() const +TQString MyCustomQObjectImp::thing() const { kdDebug() << "thing()" << endl; return m_thing; } -void MyCustomQObjectImp::setThing( const QString &t) +void MyCustomQObjectImp::setThing( const TQString &t) { kdDebug() << "setThing() " << t << endl; m_thing = t; |