summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/designeraction.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /kdevdesigner/designer/designeraction.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/designeraction.h')
-rw-r--r--kdevdesigner/designer/designeraction.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/kdevdesigner/designer/designeraction.h b/kdevdesigner/designer/designeraction.h
index 0efd69dd..b49874f0 100644
--- a/kdevdesigner/designer/designeraction.h
+++ b/kdevdesigner/designer/designeraction.h
@@ -22,29 +22,27 @@
#include <tqaction.h>
-class DesignerAction : public QAction
+class DesignerAction : public TQAction
{
Q_OBJECT
+ TQ_OBJECT
public:
- DesignerAction(TQObject *parent = 0, const char *name = 0)
- :TQAction(parent, name) {}
- DesignerAction ( const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0 )
- :TQAction(menuText, accel, parent, name) {}
- DesignerAction ( const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0 )
- :TQAction(icon, menuText, accel, parent, name) {}
- DesignerAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )
- :TQAction(text, icon, menuText, accel, parent, name, toggle) {}
- DesignerAction ( const TQString & text, const TQString & menuText, TQKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )
- :TQAction(text, menuText, accel, parent, name, toggle) {}
- DesignerAction ( TQObject * parent, const char * name, bool toggle )
- :TQAction(parent, name, toggle) {}
+ DesignerAction(TQObject *tqparent = 0, const char *name = 0)
+ :TQAction(tqparent, name) {}
+ DesignerAction ( const TQString & menuText, TQKeySequence accel, TQObject * tqparent, const char * name = 0 )
+ :TQAction(menuText, accel, tqparent, name) {}
+ DesignerAction ( const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * tqparent, const char * name = 0 )
+ :TQAction(icon, menuText, accel, tqparent, name) {}
+ DesignerAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, TQKeySequence accel, TQObject * tqparent, const char * name = 0, bool toggle = FALSE )
+ :TQAction(text, icon, menuText, accel, tqparent, name, toggle) {}
+ DesignerAction ( const TQString & text, const TQString & menuText, TQKeySequence accel, TQObject * tqparent, const char * name = 0, bool toggle = FALSE )
+ :TQAction(text, menuText, accel, tqparent, name, toggle) {}
+ DesignerAction ( TQObject * tqparent, const char * name, bool toggle )
+ :TQAction(tqparent, name, toggle) {}
~DesignerAction();
virtual void setEnabled(bool e);
virtual void setDisabled(bool d);
-#if QT_VERSION < 0x030300
- virtual void activate();
-#endif
signals:
void actionEnabled(bool e);