-rw-r--r-- | noncore/games/mindbreaker/mindbreaker.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/games/mindbreaker/mindbreaker.cpp b/noncore/games/mindbreaker/mindbreaker.cpp index b0e4d88..1a1d05d 100644 --- a/noncore/games/mindbreaker/mindbreaker.cpp +++ b/noncore/games/mindbreaker/mindbreaker.cpp @@ -134,5 +134,5 @@ QImage Peg::imageForType(int t) } -Peg::Peg(QCanvas *canvas , int t, int g = -1, int p = -1) +Peg::Peg(QCanvas *canvas , int t, int g, int p) : QCanvasRectangle(canvas) { @@ -206,5 +206,5 @@ inline int Peg::type() const * and use these to create the tray, answer and board */ -MindBreaker::MindBreaker( QWidget *parent=0, const char *name=0, int wFlags=0 ) +MindBreaker::MindBreaker( QWidget *parent, const char *name, int wFlags ) : QMainWindow(parent, name, wFlags), canvas(board_height, board_width) @@ -251,7 +251,7 @@ void MindBreaker::setScore(int turns, int games) -MindBreakerBoard::MindBreakerBoard( QCanvas &c, QWidget *parent=0, - const char *name=0, int wFlags=0 ) - : QCanvasView(&c, parent, name, wFlags) +MindBreakerBoard::MindBreakerBoard( QCanvas &canv, QWidget *parent, + const char *name, int wFlags ) + : QCanvasView(&canv, parent, name, wFlags) { int i, x, y; |