summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/designeraction.h
diff options
context:
space:
mode:
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);