diff options
Diffstat (limited to 'lib/kross/api/callable.h')
-rw-r--r-- | lib/kross/api/callable.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/kross/api/callable.h b/lib/kross/api/callable.h index 4d25bd915..63edb0671 100644 --- a/lib/kross/api/callable.h +++ b/lib/kross/api/callable.h @@ -24,8 +24,8 @@ #include "list.h" //#include "exception.h" -#include <qstring.h> -#include <qvaluelist.h> +#include <tqstring.h> +#include <tqvaluelist.h> #include <ksharedptr.h> namespace Kross { namespace Api { @@ -51,7 +51,7 @@ namespace Kross { namespace Api { * \param name The name this callable object has and * it is reachable as via \a getChild() . */ - Callable(const QString& name); + Callable(const TQString& name); /** * Destructor. @@ -63,7 +63,7 @@ namespace Kross { namespace Api { * has a name which is used e.g. on \a addChild to be able * to identify the object itself. */ - const QString getName() const; + const TQString getName() const; /** * Return the class name. This could be something @@ -72,14 +72,14 @@ namespace Kross { namespace Api { * * \return The name of this class. */ - virtual const QString getClassName() const; + virtual const TQString getClassName() const; /** * Returns if the defined child is avaible. * * \return true if child exists else false. */ - bool hasChild(const QString& name) const; + bool hasChild(const TQString& name) const; /** * Return the defined child or NULL if there is @@ -89,14 +89,14 @@ namespace Kross { namespace Api { * \return The Object matching to the defined * name or NULL if there is no such Object. */ - Object::Ptr getChild(const QString& name) const; + Object::Ptr getChild(const TQString& name) const; /** - * Return all children. + * Return all tqchildren. * - * \return A \a ObjectMap of children this Object has. + * \return A \a ObjectMap of tqchildren this Object has. */ - QMap<QString, Object::Ptr> getChildren() const; + TQMap<TQString, Object::Ptr> getChildren() const; /** * Add a new child. Replaces a possible already existing @@ -107,7 +107,7 @@ namespace Kross { namespace Api { * \return true if the Object was added successfully * else false. */ - bool addChild(const QString& name, Object* object); + bool addChild(const TQString& name, Object* object); /** * Same as the \a addChild method above but for callable @@ -122,23 +122,23 @@ namespace Kross { namespace Api { * If there doesn't exists an Object with * such name just nothing will be done. */ - void removeChild(const QString& name); + void removeChild(const TQString& name); /** - * Remove all children. + * Remove all tqchildren. */ void removeAllChildren(); /** * Call the object. */ - virtual Object::Ptr call(const QString& name, List::Ptr arguments); + virtual Object::Ptr call(const TQString& name, List::Ptr arguments); private: /// Name this callable object has. - QString m_name; + TQString m_name; /// A list of childobjects. - QMap<QString, Object::Ptr> m_children; + TQMap<TQString, Object::Ptr> m_tqchildren; }; }} |