diff options
Diffstat (limited to 'quanta/utility/tagactionset.h')
-rw-r--r-- | quanta/utility/tagactionset.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/utility/tagactionset.h b/quanta/utility/tagactionset.h index 6bb2448f..b5a962c5 100644 --- a/quanta/utility/tagactionset.h +++ b/quanta/utility/tagactionset.h @@ -24,7 +24,7 @@ class Node; } class KActionSeparator; -#include <qobject.h> +#include <tqobject.h> class QWidget; class KActionSet; class KActionMenu; @@ -39,21 +39,21 @@ class TagActionSetAbstract : public QObject { Q_OBJECT public: - TagActionSetAbstract(QObject *parent = 0, const char *name = 0); + TagActionSetAbstract(TQObject *parent = 0, const char *name = 0); virtual ~TagActionSetAbstract(); DOM::Node const& currentDomNode() const {return m_currentDomNode;} - static Node* parentTag(Node* node, QString const& tagName); - static Node* firstChildTag(Node* node, QString const& tagName); + static Node* parentTag(Node* node, TQString const& tagName); + static Node* firstChildTag(Node* node, TQString const& tagName); virtual bool isInTagContext(/*DOM::Node const& node*/) const = 0; - virtual void initActions(QWidget* parent) = 0; - virtual bool fillWithTagActions(QWidget* widget, DOM::Node const& node); - virtual void unplugAllActions(QWidget* widget) const = 0; + virtual void initActions(TQWidget* parent) = 0; + virtual bool fillWithTagActions(TQWidget* widget, DOM::Node const& node); + virtual void unplugAllActions(TQWidget* widget) const = 0; protected: - virtual void initActionMenus(QWidget* widget) = 0; + virtual void initActionMenus(TQWidget* widget) = 0; protected: Node* m_currentNode; @@ -67,13 +67,13 @@ class TagActionSet : public TagActionSetAbstract { Q_OBJECT public: - TagActionSet(QObject *parent = 0, const char *name = 0); + TagActionSet(TQObject *parent = 0, const char *name = 0); virtual ~TagActionSet() {} virtual bool isInTagContext() const; - virtual void initActions(QWidget* parent); - virtual bool fillWithTagActions(QWidget* widget, DOM::Node const& node); - virtual void unplugAllActions(QWidget* widget) const; + virtual void initActions(TQWidget* parent); + virtual bool fillWithTagActions(TQWidget* widget, DOM::Node const& node); + virtual void unplugAllActions(TQWidget* widget) const; public slots: void slotApplySourceIndentation(); @@ -81,7 +81,7 @@ public slots: void slotCutDivElement(); protected: - virtual void initActionMenus(QWidget* widget); + virtual void initActionMenus(TQWidget* widget); private: bool isInDivArea() const; @@ -95,14 +95,14 @@ class TableTagActionSet : public TagActionSetAbstract { Q_OBJECT public: - TableTagActionSet(QObject *parent = 0, const char *name = 0); + TableTagActionSet(TQObject *parent = 0, const char *name = 0); virtual ~TableTagActionSet() {} virtual bool isInTagContext(/*DOM::Node const& node*/) const; - virtual void initActions(QWidget* parent); - virtual bool fillWithTagActions(QWidget* widget, DOM::Node const& node); - virtual void unplugAllActions(QWidget* widget) const; + virtual void initActions(TQWidget* parent); + virtual bool fillWithTagActions(TQWidget* widget, DOM::Node const& node); + virtual void unplugAllActions(TQWidget* widget) const; public slots: // Insert @@ -121,7 +121,7 @@ public slots: void slotMergeSelectedCells(); protected: - virtual void initActionMenus(QWidget* widget); + virtual void initActionMenus(TQWidget* widget); private: // Insert |