diff options
Diffstat (limited to 'kexi/plugins/macros/lib/macro.h')
-rw-r--r-- | kexi/plugins/macros/lib/macro.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/plugins/macros/lib/macro.h b/kexi/plugins/macros/lib/macro.h index da38e05b..86e0122a 100644 --- a/kexi/plugins/macros/lib/macro.h +++ b/kexi/plugins/macros/lib/macro.h @@ -20,7 +20,7 @@ #ifndef KOMACRO_MACRO_H #define KOMACRO_MACRO_H -#include <qobject.h> +#include <tqobject.h> #include <ksharedptr.h> #include "action.h" @@ -39,20 +39,21 @@ namespace KoMacro { * of them points to an @a Action instance. */ class KOMACRO_EXPORT Macro - : public QObject // Qt functionality like signals and slots + : public TQObject // TQt functionality like signals and slots , public KShared // shared reference-counting , public XMLHandler // to (un-)serialize from/to XML { Q_OBJECT + TQ_OBJECT public: /** - * A QMap of @a Macro instances accessible by there unique name. Each - * class should use this typemap rather then the QMap direct. That + * A TQMap of @a Macro instances accessible by there unique name. Each + * class should use this typemap rather then the TQMap direct. That * way we are more flexible on future changes. */ - typedef QMap<QString, KSharedPtr<Macro > > Map; + typedef TQMap<TQString, KSharedPtr<Macro > > Map; /** * Constructor. @@ -60,7 +61,7 @@ namespace KoMacro { * @param name The internal name this @a Macro has. This * name will be used as unique identifier. */ - explicit Macro(const QString& name); + explicit Macro(const TQString& name); /** * Destructor. @@ -70,23 +71,23 @@ namespace KoMacro { /** * @return the name this @a Macro instance has. */ - const QString name() const; + const TQString name() const; /** * Set the @p name this @a Macro instance has. */ - void setName(const QString& name); + void setName(const TQString& name); /** * @return a string-representation of the macro. */ - virtual const QString toString() const; + virtual const TQString toString() const; /** * @return a list of @a MacroItem instances which - * are children of this @a Macro . + * are tqchildren of this @a Macro . */ - QValueList< KSharedPtr<MacroItem> >& items() const; + TQValueList< KSharedPtr<MacroItem> >& items() const; /** * Add the @a MacroItem @p item to the list of items @@ -100,13 +101,13 @@ namespace KoMacro { void clearItems(); /** - * Connect the Qt signal @p signal of the QObject @p sender + * Connect the TQt signal @p signal of the TQObject @p sender * with this @a Macro . If the signal got emitted this * @a Macro instance will be activated and the in the * signal passed arguments are transfered into the * activation @a Context . */ - //void connectSignal(const QObject* sender, const char* signal); + //void connectSignal(const TQObject* sender, const char* signal); public slots: @@ -116,7 +117,7 @@ namespace KoMacro { * @param context The @a Context this @a Macro should * be executed in. */ - virtual KSharedPtr<Context> execute(QObject* sender); + virtual KSharedPtr<Context> execute(TQObject* sender); private: /// @internal d-pointer class. |