diff options
Diffstat (limited to 'ksnake')
-rw-r--r-- | ksnake/basket.h | 4 | ||||
-rw-r--r-- | ksnake/game.h | 2 | ||||
-rw-r--r-- | ksnake/progress.h | 2 | ||||
-rw-r--r-- | ksnake/rattler.h | 2 | ||||
-rw-r--r-- | ksnake/snake.h | 2 | ||||
-rw-r--r-- | ksnake/startroom.h | 2 | ||||
-rw-r--r-- | ksnake/view.h | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/ksnake/basket.h b/ksnake/basket.h index 5275d8a8..af8b30ea 100644 --- a/ksnake/basket.h +++ b/ksnake/basket.h @@ -35,7 +35,7 @@ enum Fruits { Red, Golden }; class Kaffee : public TQObject { Q_OBJECT - TQ_OBJECT + public: Kaffee(int pos, int r1, int r2); int position() { return p;} @@ -52,7 +52,7 @@ private: class Basket : public TQObject { Q_OBJECT - TQ_OBJECT + public: Basket(Board *b, PixServer *p); ~Basket(); diff --git a/ksnake/game.h b/ksnake/game.h index f3595bb3..719695ef 100644 --- a/ksnake/game.h +++ b/ksnake/game.h @@ -36,7 +36,7 @@ class View; class Game : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: Game(TQWidget *parent=0, const char *name=0); diff --git a/ksnake/progress.h b/ksnake/progress.h index b395de65..f4beb246 100644 --- a/ksnake/progress.h +++ b/ksnake/progress.h @@ -31,7 +31,7 @@ class Progress : public KGameProgress { Q_OBJECT - TQ_OBJECT + public: Progress( TQWidget *parent=0, const char *name=0 ); diff --git a/ksnake/rattler.h b/ksnake/rattler.h index 9aff9fa6..1f824621 100644 --- a/ksnake/rattler.h +++ b/ksnake/rattler.h @@ -43,7 +43,7 @@ enum { Init, Playing, Demo, Paused, Over }; class Rattler : public TQWidget { Q_OBJECT - TQ_OBJECT + public: Rattler ( TQWidget *parent=0, const char *name=0 ); diff --git a/ksnake/snake.h b/ksnake/snake.h index 9b5c1087..7b0a14be 100644 --- a/ksnake/snake.h +++ b/ksnake/snake.h @@ -34,7 +34,7 @@ class Snake : public TQObject { Q_OBJECT - TQ_OBJECT + signals: void score(bool, int); diff --git a/ksnake/startroom.h b/ksnake/startroom.h index 7ddba17e..e7e64e53 100644 --- a/ksnake/startroom.h +++ b/ksnake/startroom.h @@ -34,7 +34,7 @@ class TQSpinBox; class StartRoom : public TQWidget { Q_OBJECT - TQ_OBJECT + public: StartRoom( TQWidget *parent=0, const char *name=0 ); diff --git a/ksnake/view.h b/ksnake/view.h index 871cd7a1..6fe66700 100644 --- a/ksnake/view.h +++ b/ksnake/view.h @@ -33,7 +33,7 @@ class Rattler; class View : public TQWidget { Q_OBJECT - TQ_OBJECT + public: View ( TQWidget *parent=0, const char *name=0 ); |