From 479f5f799523bffbcc83dff581a2299c047c6fff Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:44:01 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjsembed/plugins/customqobject_plugin.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kjsembed/plugins/customqobject_plugin.cpp') 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 #include #include -#include +#include #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; -- cgit v1.2.1