diff options
Diffstat (limited to 'kmines')
-rw-r--r-- | kmines/dialogs.h | 10 | ||||
-rw-r--r-- | kmines/field.h | 2 | ||||
-rw-r--r-- | kmines/kzoommainwindow.h | 2 | ||||
-rw-r--r-- | kmines/main.h | 2 | ||||
-rw-r--r-- | kmines/solver/solver.h | 4 | ||||
-rw-r--r-- | kmines/status.h | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/kmines/dialogs.h b/kmines/dialogs.h index 799074f6..ed7744e0 100644 --- a/kmines/dialogs.h +++ b/kmines/dialogs.h @@ -34,7 +34,7 @@ class KIntNumInput; class Smiley : public TQPushButton, public KMines { Q_OBJECT - TQ_OBJECT + public: Smiley(TQWidget *parent, const char *name = 0) : TQPushButton(TQString(), parent, name) {} @@ -50,7 +50,7 @@ class Smiley : public TQPushButton, public KMines class DigitalClock : public KGameLCDClock { Q_OBJECT - TQ_OBJECT + public: DigitalClock(TQWidget *parent); @@ -78,7 +78,7 @@ class DigitalClock : public KGameLCDClock class CustomConfig : public TQWidget, public KMines { Q_OBJECT - TQ_OBJECT + public: CustomConfig(); @@ -103,7 +103,7 @@ class CustomConfig : public TQWidget, public KMines class GameConfig : public TQWidget, public KMines { Q_OBJECT - TQ_OBJECT + public: GameConfig(); @@ -122,7 +122,7 @@ class GameConfig : public TQWidget, public KMines class AppearanceConfig : public TQWidget, public KMines { Q_OBJECT - TQ_OBJECT + public: AppearanceConfig(); }; diff --git a/kmines/field.h b/kmines/field.h index 3d443843..e61718d1 100644 --- a/kmines/field.h +++ b/kmines/field.h @@ -27,7 +27,7 @@ class Field : public FieldFrame, public BaseField { Q_OBJECT - TQ_OBJECT + public: enum ActionType { Reveal = 0, AutoReveal, SetFlag, UnsetFlag, SetUncertain, UnsetUncertain, Nb_Actions }; diff --git a/kmines/kzoommainwindow.h b/kmines/kzoommainwindow.h index 00092183..4c3e7ea2 100644 --- a/kmines/kzoommainwindow.h +++ b/kmines/kzoommainwindow.h @@ -42,7 +42,7 @@ class KToggleAction; class KZoomMainWindow : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** Constructor. */ KZoomMainWindow(uint minZoom, uint maxZoom, uint zoomStep, diff --git a/kmines/main.h b/kmines/main.h index 31221e76..c8b74512 100644 --- a/kmines/main.h +++ b/kmines/main.h @@ -31,7 +31,7 @@ class Status; class MainWidget : public KZoomMainWindow, public KMines { Q_OBJECT - TQ_OBJECT + public: MainWidget(); diff --git a/kmines/solver/solver.h b/kmines/solver/solver.h index a5305aa3..f069f0ea 100644 --- a/kmines/solver/solver.h +++ b/kmines/solver/solver.h @@ -32,7 +32,7 @@ class SolverPrivate; class Solver : public TQObject { Q_OBJECT - TQ_OBJECT + public: Solver(TQObject *parent = 0); ~Solver(); @@ -63,7 +63,7 @@ class Solver : public TQObject class SolvingRateDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: SolvingRateDialog(const BaseField &field, TQWidget *parent); diff --git a/kmines/status.h b/kmines/status.h index eec7b608..db1ceb64 100644 --- a/kmines/status.h +++ b/kmines/status.h @@ -33,7 +33,7 @@ class TQTimer; class Status : public TQWidget, public KMines { Q_OBJECT - TQ_OBJECT + public : Status(TQWidget *parent); |