diff options
Diffstat (limited to 'kexi/plugins/macros/lib/macroitem.h')
-rw-r--r-- | kexi/plugins/macros/lib/macroitem.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/plugins/macros/lib/macroitem.h b/kexi/plugins/macros/lib/macroitem.h index 8f3e1502..6b996e70 100644 --- a/kexi/plugins/macros/lib/macroitem.h +++ b/kexi/plugins/macros/lib/macroitem.h @@ -20,12 +20,12 @@ #ifndef KOMACRO_MACROITEM_H #define KOMACRO_MACROITEM_H -#include <qobject.h> +#include <tqobject.h> #include <ksharedptr.h> // Forward declarations. -class QDomElement; +class TQDomElement; #include "action.h" #include "context.h" @@ -51,7 +51,7 @@ namespace KoMacro { /** * A list of \a MacroItem instances. */ - typedef QValueList<KSharedPtr<MacroItem > > List; + typedef TQValueList<KSharedPtr<MacroItem > > List; /** * Constructor. @@ -67,13 +67,13 @@ namespace KoMacro { * @return the comment defined by the user for * this @a MacroItem . */ - QString comment() const; + TQString comment() const; /** * Set the comment @param comment defined by the user for this * @a MacroItem . */ - void setComment(const QString& comment); + void setComment(const TQString& comment); /** * @return the @a Action this @a MacroItem points @@ -98,7 +98,7 @@ namespace KoMacro { * such a @param name in the case this @a MacroItem * doesn't have such a name. */ - QVariant variant(const QString& name, bool checkaction = false) const; + TQVariant variant(const TQString& name, bool checkaction = false) const; /** * @return the @a Variable instance identified with @@ -110,25 +110,25 @@ namespace KoMacro { * such a @param name in the case this @a MacroItem * doesn't have such a name. */ - KSharedPtr<Variable> variable(const QString& name, bool checkaction = false) const; + KSharedPtr<Variable> variable(const TQString& name, bool checkaction = false) const; /** * @return a map of @a Variable instances. */ - QMap<QString, KSharedPtr<Variable> > variables() const; + TQMap<TQString, KSharedPtr<Variable> > variables() const; /** - * Set the @a QVariant @param variant as variable with the variablename + * Set the @a TQVariant @param variant as variable with the variablename * @param name . * @return a bool for successfull setting. */ - bool setVariant(const QString& name, const QVariant& variant); + bool setVariant(const TQString& name, const TQVariant& variant); /** * Add a new variable with the vaiablename @param name and the given - * @a QVariant @param variant to our @a MacroItem instance. + * @a TQVariant @param variant to our @a MacroItem instance. */ - KSharedPtr<Variable> addVariable(const QString& name, const QVariant& variant); + KSharedPtr<Variable> addVariable(const TQString& name, const TQVariant& variant); private: /// @internal d-pointer class. |