diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/utility/tagactionset.h | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/utility/tagactionset.h')
-rw-r--r-- | quanta/utility/tagactionset.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/quanta/utility/tagactionset.h b/quanta/utility/tagactionset.h index 00d3341f..5b813acb 100644 --- a/quanta/utility/tagactionset.h +++ b/quanta/utility/tagactionset.h @@ -35,20 +35,21 @@ class NodeModifsSet; /** @author Paulo Moura Guedes */ -class TagActionSetAbstract : public QObject +class TagActionSetAbstract : public TQObject { Q_OBJECT + TQ_OBJECT public: - TagActionSetAbstract(TQObject *parent = 0, const char *name = 0); + TagActionSetAbstract(TQObject *tqparent = 0, const char *name = 0); virtual ~TagActionSetAbstract(); DOM::Node const& currentDomNode() const {return m_currentDomNode;} - static Node* parentTag(Node* node, TQString const& tagName); + static Node* tqparentTag(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(TQWidget* parent) = 0; + virtual void initActions(TQWidget* tqparent) = 0; virtual bool fillWithTagActions(TQWidget* widget, DOM::Node const& node); virtual void unplugAllActions(TQWidget* widget) const = 0; @@ -66,12 +67,13 @@ private: class TagActionSet : public TagActionSetAbstract { Q_OBJECT + TQ_OBJECT public: - TagActionSet(TQObject *parent = 0, const char *name = 0); + TagActionSet(TQObject *tqparent = 0, const char *name = 0); virtual ~TagActionSet() {} virtual bool isInTagContext() const; - virtual void initActions(TQWidget* parent); + virtual void initActions(TQWidget* tqparent); virtual bool fillWithTagActions(TQWidget* widget, DOM::Node const& node); virtual void unplugAllActions(TQWidget* widget) const; @@ -94,13 +96,14 @@ private: class TableTagActionSet : public TagActionSetAbstract { Q_OBJECT + TQ_OBJECT public: - TableTagActionSet(TQObject *parent = 0, const char *name = 0); + TableTagActionSet(TQObject *tqparent = 0, const char *name = 0); virtual ~TableTagActionSet() {} virtual bool isInTagContext(/*DOM::Node const& node*/) const; - virtual void initActions(TQWidget* parent); + virtual void initActions(TQWidget* tqparent); virtual bool fillWithTagActions(TQWidget* widget, DOM::Node const& node); virtual void unplugAllActions(TQWidget* widget) const; |