summaryrefslogtreecommitdiffstats
path: root/kjsembed/plugins/customobject_plugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/plugins/customobject_plugin.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect 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 13bf0526..b883ff66 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;
- TTQString thing;
+ TQString thing;
};
-MyCustomObjectLoader::MyCustomObjectLoader( TTQObject *parent, const char *name, const TTQStringList &args ) :
+MyCustomObjectLoader::MyCustomObjectLoader( TQObject *parent, const char *name, const TQStringList &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;
}
-TTQString MyCustomObjectImp::extractString(KJS::ExecState *exec, const KJS::List &args, int idx)
+TQString MyCustomObjectImp::extractString(KJS::ExecState *exec, const KJS::List &args, int idx)
{
- return (args.size() > idx) ? args[idx].toString(exec).qstring() : TTQString::null;
+ return (args.size() > idx) ? args[idx].toString(exec).qstring() : TQString::null;
}
} // namespace KJSEmbed::Bindings