diff options
Diffstat (limited to 'ksnake/basket.h')
-rw-r--r-- | ksnake/basket.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ksnake/basket.h b/ksnake/basket.h index 56bc8020..18386acc 100644 --- a/ksnake/basket.h +++ b/ksnake/basket.h @@ -32,9 +32,10 @@ class PixServer; enum Fruits { Red, Golden }; -class Kaffee : public QObject +class Kaffee : public TQObject { Q_OBJECT + TQ_OBJECT public: Kaffee(int pos, int r1, int r2); int position() { return p;} @@ -48,13 +49,14 @@ private: Fruits t; }; -class Basket : public QObject +class Basket : public TQObject { Q_OBJECT + TQ_OBJECT public: Basket(Board *b, PixServer *p); ~Basket(); - void repaint(bool); + void tqrepaint(bool); void newApples(); void clear(); Fruits eaten( int i); |