#include </home/clem/local/src/opie/noncore/games/zlines/klines.h>
Collaboration diagram for KLines:

Public Slots | |
| void | startGame () |
| void | stopGame () |
| void | makeTurn () |
| void | addScore (int ballsErased) |
| void | switchPrompt () |
| void | help () |
| void | undo () |
Public Member Functions | |
| KLines (QWidget *parent, const char *name, WFlags f) | |
| ~KLines () | |
Static Public Member Functions | |
| static QString | appName () |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) |
Private Slots | |
| void | setMinSize () |
Private Member Functions | |
| void | searchBallsLine () |
| void | generateRandomBalls () |
| void | placeBalls () |
| void | updateStat () |
| void | endGame () |
| void | switchUndo (bool bu) |
Private Attributes | |
| QMenuBar * | menu |
| int | idMenuPrompt |
| int | idMenuUndo |
| QPopupMenu * | game |
| QPopupMenu * | edit |
| QToolBar * | tool |
| QStatusBar * | stat |
| LinesBoard * | lsb |
| MainWidget * | mwidget |
| LinesPrompt * | lPrompt |
| int | score |
| int | prev_score |
| int | nextBalls [BALLSDROP] |
| int | nextBalls_undo [BALLSDROP] |
| int | nextBalls_redo [BALLSDROP] |
| bool | bUndo |
|
||||||||||||||||
|
Definition at line 40 of file klines.cpp. References edit, game, MainWidget::GetLsb(), MainWidget::GetPrompt(), LinesPrompt::getState(), idMenuPrompt, idMenuUndo, Key_N, Key_P, Key_Q, Key_Z, lPrompt, lsb, makeTurn(), mwidget, prev_score, qApp, score, MainWidget::setMessage(), startGame(), stopGame(), switchPrompt(), t, tr, and undo(). |
|
|
Definition at line 87 of file klines.cpp. |
|
|
Definition at line 170 of file klines.cpp. References LinesPrompt::getState(), lPrompt, score, and updateStat(). |
|
|
Definition at line 39 of file klines.h. References QString::fromLatin1(). |
|
|
Definition at line 183 of file klines.cpp. References startGame(). Referenced by stopGame(). |
|
|
Definition at line 129 of file klines.cpp. References BALLSDROP, bUndo, i, lPrompt, NCOLORS, nextBalls, nextBalls_redo, nextBalls_undo, and LinesPrompt::SetBalls(). Referenced by makeTurn(), and startGame(). |
|
|
Definition at line 200 of file klines.cpp. |
|
|
Definition at line 163 of file klines.cpp. References generateRandomBalls(), placeBalls(), switchUndo(), and TRUE. Referenced by KLines(). |
|
|
Definition at line 142 of file klines.cpp. References debug, lsb, nextBalls, and LinesBoard::placeBalls(). Referenced by makeTurn(), and startGame(). |
|
|
Definition at line 95 of file klines.cpp. |
|
|
Definition at line 125 of file klines.cpp. |
|
|
Definition at line 100 of file klines.cpp. |
|
|
Definition at line 106 of file klines.cpp. References bUndo, Field::clearField(), edit, FALSE, generateRandomBalls(), idMenuUndo, lsb, placeBalls(), prev_score, score, TRUE, and updateStat(). |
|
|
Definition at line 119 of file klines.cpp. References debug, and endGame(). Referenced by KLines(). |
|
|
Definition at line 188 of file klines.cpp. References game, LinesPrompt::getState(), idMenuPrompt, lPrompt, and LinesPrompt::setPrompt(). Referenced by KLines(). |
|
|
Definition at line 194 of file klines.cpp. References bUndo, edit, and idMenuUndo. Referenced by makeTurn(), and undo(). |
|
|
Definition at line 148 of file klines.cpp. References BALLSDROP, bUndo, debug, FALSE, i, lPrompt, lsb, nextBalls, nextBalls_redo, nextBalls_undo, LinesPrompt::SetBalls(), switchUndo(), and LinesBoard::undo(). Referenced by KLines(). |
|
|
Definition at line 178 of file klines.cpp. References mwidget, score, MainWidget::setMessage(), and tr. Referenced by addScore(), and startGame(). |
|
|
Definition at line 76 of file klines.h. Referenced by generateRandomBalls(), startGame(), switchUndo(), and undo(). |
|
|
Definition at line 64 of file klines.h. Referenced by KLines(), startGame(), and switchUndo(). |
|
|
Definition at line 63 of file klines.h. Referenced by KLines(), and switchPrompt(). |
|
|
Definition at line 60 of file klines.h. Referenced by KLines(), and switchPrompt(). |
|
|
Definition at line 61 of file klines.h. Referenced by KLines(), startGame(), and switchUndo(). |
|
|
Definition at line 69 of file klines.h. Referenced by addScore(), generateRandomBalls(), KLines(), switchPrompt(), and undo(). |
|
|
Definition at line 67 of file klines.h. Referenced by KLines(), placeBalls(), startGame(), and undo(). |
|
|
|
|
|
Definition at line 68 of file klines.h. Referenced by KLines(), and updateStat(). |
|
|
Definition at line 73 of file klines.h. Referenced by generateRandomBalls(), placeBalls(), and undo(). |
|
|
Definition at line 75 of file klines.h. Referenced by generateRandomBalls(), and undo(). |
|
|
Definition at line 74 of file klines.h. Referenced by generateRandomBalls(), and undo(). |
|
|
Definition at line 71 of file klines.h. Referenced by KLines(), and startGame(). |
|
|
Definition at line 71 of file klines.h. Referenced by addScore(), KLines(), startGame(), and updateStat(). |
|
|
|
|
|
|
1.4.2