From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: 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 --- quanta/utility/tagaction.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'quanta/utility/tagaction.h') diff --git a/quanta/utility/tagaction.h b/quanta/utility/tagaction.h index b24addac..d940faf7 100644 --- a/quanta/utility/tagaction.h +++ b/quanta/utility/tagaction.h @@ -47,6 +47,7 @@ class NodeSelection; class TagAction : public KToggleAction { Q_OBJECT + TQ_OBJECT public: /** @@ -54,7 +55,7 @@ public: * @param toggle If set to true, the class behaves like a KToggleAction; * Else it behaves like a KAction. This avoids the multi-inheritance problem. */ - TagAction(TQDomElement *element, KMainWindow *parentMainWindow, bool toggle = false); + TagAction(TQDomElement *element, KMainWindow *tqparentMainWindow, bool toggle = false); virtual ~TagAction(); TQDomElement data() const { return tag; } @@ -93,7 +94,7 @@ public slots: * We need this information in order to know if queued actions should be applied. * It's public because it can be activated by other classes if there are any queued actions. */ - virtual bool slotActionActivated(KAction::ActivationReason reason, Qt::ButtonState state); + virtual bool slotActionActivated(KAction::ActivationReason reason, TQt::ButtonState state); protected slots: virtual void slotGetScriptOutput( KProcess *, char *buffer, int buflen ); -- cgit v1.2.1