summaryrefslogtreecommitdiffstats
path: root/kjsembed/plugins/customqobject_plugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/plugins/customqobject_plugin.cpp
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/plugins/customqobject_plugin.cpp')
-rw-r--r--kjsembed/plugins/customqobject_plugin.cpp14
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;