diff options
Diffstat (limited to 'lib/kross/api/object.h')
-rw-r--r-- | lib/kross/api/object.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/kross/api/object.h b/lib/kross/api/object.h index 3c86ca4b..87bd2132 100644 --- a/lib/kross/api/object.h +++ b/lib/kross/api/object.h @@ -20,11 +20,11 @@ #ifndef KROSS_API_OBJECT_H #define KROSS_API_OBJECT_H -#include <qstring.h> -#include <qvaluelist.h> -#include <qmap.h> -#include <qvariant.h> -//#include <qobject.h> +#include <tqstring.h> +#include <tqvaluelist.h> +#include <tqmap.h> +#include <tqvariant.h> +//#include <tqobject.h> #include <ksharedptr.h> #include "../main/krossconfig.h" @@ -40,7 +40,7 @@ namespace Kross { namespace Api { * * The Object class is used as base class to provide * common functionality. It's similar to what we know - * in Python as PyObject or in Qt as QObject. + * in Python as PyObject or in TQt as TQObject. * * Inherited from e.g. \a Value, \a Module and \a Class . * @@ -73,14 +73,14 @@ namespace Kross { namespace Api { * * \return The name of this class. */ - virtual const QString getClassName() const = 0; + virtual const TQString getClassName() const = 0; /** * \return a string representation of the object or * it's content. This method is mainly used for * debugging and testing purposes. */ - virtual const QString toString(); + virtual const TQString toString(); /** * Pass a call to the object and evaluated it recursive @@ -99,14 +99,14 @@ namespace Kross { namespace Api { * \return The call-result as \a Object::Ptr instance or * NULL if the call has no result. */ - virtual Object::Ptr call(const QString& name, KSharedPtr<List> arguments); + virtual Object::Ptr call(const TQString& name, KSharedPtr<List> arguments); /** * Return a list of supported callable objects. * * \return List of supported calls. */ - virtual QStringList getCalls() { return QStringList(); } + virtual TQStringList getCalls() { return TQStringList(); } //FIXME replace function with getChildren() functionality ? /** @@ -142,7 +142,7 @@ template<class T> inline T* Object::fromObject(Object::Ptr object) { T* t = (T*) object.data(); if(! t) - throw KSharedPtr<Exception>( new Exception(QString("Object \"%1\" invalid.").arg(object ? object->getClassName() : "")) ); + throw KSharedPtr<Exception>( new Exception(TQString("Object \"%1\" invalid.").tqarg(object ? object->getClassName() : "")) ); return t; } |