diff options
Diffstat (limited to 'kshisen/board.h')
-rw-r--r-- | kshisen/board.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kshisen/board.h b/kshisen/board.h index c38fba57..2413d8d4 100644 --- a/kshisen/board.h +++ b/kshisen/board.h @@ -72,12 +72,12 @@ class Board : public QWidget Q_OBJECT public: - Board(QWidget *parent = 0, const char *name=0); + Board(TQWidget *parent = 0, const char *name=0); ~Board(); - virtual void paintEvent(QPaintEvent *); - virtual void mousePressEvent(QMouseEvent *); - virtual void resizeEvent(QResizeEvent*); + virtual void paintEvent(TQPaintEvent *); + virtual void mousePressEvent(TQMouseEvent *); + virtual void resizeEvent(TQResizeEvent*); void setDelay(int); int getDelay() const; @@ -89,7 +89,7 @@ public: void setSize(int x, int y); void resizeBoard(); - QSize unscaledSize() const; + TQSize unscaledSize() const; void newGame(); void setShuffle(int); int getShuffle() const; @@ -134,7 +134,7 @@ private slots: void gravity(int, bool); protected: - virtual QSize sizeHint() const; + virtual TQSize sizeHint() const; private: // functions void initBoard(); @@ -151,7 +151,7 @@ private: // functions bool findSimplePath(int x1, int y1, int x2, int y2, Path& p) const; bool isTileHighlighted(int x, int y) const; void drawConnection(int timeout); - QPoint midCoord(int x, int y) const; + TQPoint midCoord(int x, int y) const; void marked(int x, int y); void madeMove(int x1, int y1, int x2, int y2); @@ -163,8 +163,8 @@ private: KRandomSequence random; - QPtrList<Move> _undo; - QPtrList<Move> _redo; + TQPtrList<Move> _undo; + TQPtrList<Move> _redo; int undraw_timer_id; int mark_x; |