diff options
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 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 |