diff options
Diffstat (limited to 'kjsembed/plugins/customobject_plugin.cpp')
-rw-r--r-- | kjsembed/plugins/customobject_plugin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kjsembed/plugins/customobject_plugin.cpp b/kjsembed/plugins/customobject_plugin.cpp index 7c188cba..b883ff66 100644 --- a/kjsembed/plugins/customobject_plugin.cpp +++ b/kjsembed/plugins/customobject_plugin.cpp @@ -26,8 +26,8 @@ #include <kjsembed/jsfactory_imp.h> #include <kjsembed/kjsembedpart.h> #include <kjsembed/customobject_imp.h> -#include <qvariant.h> -#include <qbrush.h> +#include <tqvariant.h> +#include <tqbrush.h> #include "customobject_plugin.h" @@ -39,10 +39,10 @@ class MyCustomObject public: enum Mode { On, Off }; Mode mode; - QString thing; + TQString thing; }; -MyCustomObjectLoader::MyCustomObjectLoader( QObject *parent, const char *name, const QStringList &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; } -QString 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() : QString::null; + return (args.size() > idx) ? args[idx].toString(exec).qstring() : TQString::null; } } // namespace KJSEmbed::Bindings |