diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/plugins/customobject_plugin.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/plugins/customobject_plugin.cpp')
-rw-r--r-- | kjsembed/plugins/customobject_plugin.cpp | 8 |
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 |