summaryrefslogtreecommitdiffstats
path: root/kjsembed/plugins/customobject_plugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/plugins/customobject_plugin.cpp
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/plugins/customobject_plugin.cpp')
-rw-r--r--kjsembed/plugins/customobject_plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/plugins/customobject_plugin.cpp b/kjsembed/plugins/customobject_plugin.cpp
index b883ff66..13bf0526 100644
--- a/kjsembed/plugins/customobject_plugin.cpp
+++ b/kjsembed/plugins/customobject_plugin.cpp
@@ -39,10 +39,10 @@ class MyCustomObject
public:
enum Mode { On, Off };
Mode mode;
- TQString thing;
+ TTQString thing;
};
-MyCustomObjectLoader::MyCustomObjectLoader( TQObject *parent, const char *name, const TQStringList &args ) :
+MyCustomObjectLoader::MyCustomObjectLoader( TTQObject *parent, const char *name, const TTQStringList &args ) :
JSBindingPlugin(parent, name, args)
{
}
@@ -170,9 +170,9 @@ int MyCustomObjectImp::extractInt( KJS::ExecState *exec, const KJS::List &args,
{
return (args.size() > idx) ? args[idx].toInteger(exec) : 0;
}
-TQString MyCustomObjectImp::extractString(KJS::ExecState *exec, const KJS::List &args, int idx)
+TTQString MyCustomObjectImp::extractString(KJS::ExecState *exec, const KJS::List &args, int idx)
{
- return (args.size() > idx) ? args[idx].toString(exec).qstring() : TQString::null;
+ return (args.size() > idx) ? args[idx].toString(exec).qstring() : TTQString::null;
}
} // namespace KJSEmbed::Bindings