From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kross/api/callable.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'lib/kross/api/callable.h') diff --git a/lib/kross/api/callable.h b/lib/kross/api/callable.h index 4d25bd91..63edb067 100644 --- a/lib/kross/api/callable.h +++ b/lib/kross/api/callable.h @@ -24,8 +24,8 @@ #include "list.h" //#include "exception.h" -#include -#include +#include +#include #include 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 getChildren() const; + TQMap 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 m_children; + TQMap m_tqchildren; }; }} -- cgit v1.2.1