diff options
Diffstat (limited to 'lib/kross/api/proxy.h')
-rw-r--r-- | lib/kross/api/proxy.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kross/api/proxy.h b/lib/kross/api/proxy.h index f25a4845..a7d37380 100644 --- a/lib/kross/api/proxy.h +++ b/lib/kross/api/proxy.h @@ -25,7 +25,7 @@ #include "variant.h" #include "list.h" -#include <qstring.h> +#include <tqstring.h> namespace Kross { namespace Api { @@ -71,21 +71,21 @@ namespace Kross { namespace Api { * // The class which should be published. * class MyClass : public Kross::Api::Class<MyClass> { * public: - * MyClass(const QString& name) : Kross::Api::Class<MyClass>(name) { + * MyClass(const TQString& name) : Kross::Api::Class<MyClass>(name) { * // publish the function myfunc, so that scripting-code is able * // to call that method. * this->addProxyFunction < * Kross::Api::Variant, // the uint returnvalue is handled with Variant. - * Kross::Api::Variant, // the QString argument is handled with Variant too. + * Kross::Api::Variant, // the TQString argument is handled with Variant too. * MyClass // the MyClass* is handled implicit by our class. * > ( "myfuncname", // the name the function should be published as. * this, // pointer to the class-instance which has the method. * &TestPluginObject::myfunc ); // pointer to the method itself. * } * virtual ~MyClass() {} - * virtual const QString getClassName() const { return "MyClass"; } + * virtual const TQString getClassName() const { return "MyClass"; } * private: - * uint myfunc(const QCString&, MyClass* myotherclass) { + * uint myfunc(const TQCString&, MyClass* myotherclass) { * // This method will be published to the scripting backend. So, scripting * // code is able to call this method. * } |