summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/toggleaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/toggleaction.h')
-rw-r--r--kstars/kstars/toggleaction.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kstars/kstars/toggleaction.h b/kstars/kstars/toggleaction.h
index 5eef8d04..a2f05a98 100644
--- a/kstars/kstars/toggleaction.h
+++ b/kstars/kstars/toggleaction.h
@@ -31,12 +31,13 @@
class ToggleAction : public KAction {
Q_OBJECT
+ TQ_OBJECT
public:
/**Constructor. */
- ToggleAction(const TQString& ontext, const TQIconSet& onpix, const TQString& offtext, const TQIconSet& offpix, int accel, const TQObject* receiver, const char* slot, TQObject* parent = 0, const char* name = 0 ) ;
+ ToggleAction(const TQString& ontext, const TQIconSet& onpix, const TQString& offtext, const TQIconSet& offpix, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent = 0, const char* name = 0 ) ;
/**Constructor. Same as above, but without icons. */
- ToggleAction(const TQString& ontext, const TQString& offtext, int accel, const TQObject* receiver, const char* slot, TQObject* parent = 0, const char* name = 0 ) ;
+ ToggleAction(const TQString& ontext, const TQString& offtext, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent = 0, const char* name = 0 ) ;
/**Sets the ToolTip text for the "on" state.
*@p tip the tooltip string