#include </home/clem/local/src/opie/noncore/games/wordgame/wordgame.h>
Collaboration diagram for Rack:

Public Member Functions | |
| Rack (int ntiles, QWidget *parent) | |
| ~Rack () | |
| void | readConfig (Config &) |
| void | writeConfig (Config &) |
| bool | isFull () const |
| int | max () const |
| int | count () const |
| void | addTile (const Tile &t) |
| Tile | tile (int i) const |
| const Tile * | tileRef (int i) const |
| void | remove (int i) |
| void | remove (Tile) |
| bool | arrangeTiles (const Tile **s, int sn) |
| void | setBlanks (const Tile *) |
| void | setPlayerName (const QString &name) |
| QString | playerName () const |
| void | setComputerization (int level) |
| bool | computerized () const |
| QSize | sizeHint () const |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *e) |
| void | contentsMousePressEvent (QMouseEvent *) |
| void | contentsMouseMoveEvent (QMouseEvent *) |
| void | contentsMouseReleaseEvent (QMouseEvent *) |
Private Member Functions | |
| void | clear () |
| void | layoutTiles () |
Private Attributes | |
| int | n |
| QArray< TileItem * > | item |
| int | dragging_adj |
| QPoint | dragstart |
| QCanvasItem * | dragging |
| QString | nm |
| int | cpu |
|
||||||||||||
|
Definition at line 1199 of file wordgame.cpp. |
|
|
Definition at line 1215 of file wordgame.cpp. References clear(). |
|
|
Definition at line 1314 of file wordgame.cpp. References i, item, layoutTiles(), n, and TRUE. Referenced by WordGame::refillRack(). |
|
||||||||||||
|
Definition at line 1292 of file wordgame.cpp. References f, FALSE, i, item, layoutTiles(), n, and TRUE. Referenced by ComputerPlayer::step(). |
|
|
Definition at line 1226 of file wordgame.cpp. Referenced by readConfig(), and ~Rack(). |
|
|
Definition at line 149 of file wordgame.h. References cpu. Referenced by Board::checkTurn(), contentsMouseMoveEvent(), Board::contentsMouseMoveEvent(), contentsMousePressEvent(), and contentsMouseReleaseEvent(). |
|
|
Definition at line 1359 of file wordgame.cpp. References TileItem::bigWidth(), computerized(), dragging, dragging_adj, dragstart, and layoutTiles(). |
|
|
Definition at line 1346 of file wordgame.cpp. References computerized(), dragging, dragstart, and list. |
|
|
Definition at line 1373 of file wordgame.cpp. References computerized(), dragging, and layoutTiles(). |
|
|
Definition at line 137 of file wordgame.h. References n. Referenced by Board::checkTurn(), WordGame::endGame(), ComputerPlayer::findBest(), isFull(), WordGame::refillRack(), and Board::scoreTurn(). |
|
|
Definition at line 135 of file wordgame.h. References count(), and max(). Referenced by WordGame::refillRack(). |
|
|
Definition at line 1262 of file wordgame.cpp. References TileItem::bigWidth(), cmp_tileitem(), dragging, dragging_adj, i, item, and n. Referenced by addTile(), arrangeTiles(), contentsMouseMoveEvent(), contentsMouseReleaseEvent(), readConfig(), and remove(). |
|
|
Definition at line 136 of file wordgame.h. References item. Referenced by isFull(). |
|
|
Definition at line 147 of file wordgame.h. References nm. |
|
|
Definition at line 1241 of file wordgame.cpp. References QValueList< T >::begin(), clear(), QValueList< T >::end(), i, item, l, layoutTiles(), n, Config::readListEntry(), TRUE, and Opie::MM::x. |
|
|
Definition at line 1322 of file wordgame.cpp. |
|
|
Definition at line 1331 of file wordgame.cpp. References item, layoutTiles(), and n. Referenced by Board::finalizeTurn(), and remove(). |
|
|
Definition at line 1340 of file wordgame.cpp. |
|
|
Definition at line 1280 of file wordgame.cpp. References Tile::isBlank(), item, n, Tile::setText(), and Tile::text(). Referenced by ComputerPlayer::step(). |
|
|
Definition at line 148 of file wordgame.h. References cpu. Referenced by WordGame::addPlayer(). |
|
|
Definition at line 146 of file wordgame.h. References nm. Referenced by WordGame::addPlayer(). |
|
|
Definition at line 1221 of file wordgame.cpp. References TileItem::bigHeight(). Referenced by Rack(). |
|
|
Definition at line 139 of file wordgame.h. References item. Referenced by remove(), Board::showTurn(), and writeConfig(). |
|
|
Definition at line 140 of file wordgame.h. References item. Referenced by Board::checkTurn(), WordGame::endGame(), ComputerPlayer::findBest(), Board::scoreTurn(), and ComputerPlayer::step(). |
|
|
Definition at line 1233 of file wordgame.cpp. References QValueList< T >::append(), i, l, n, tile(), and Config::writeEntry(). |
|
|
Definition at line 168 of file wordgame.h. Referenced by computerized(), and setComputerization(). |
|
|
Definition at line 166 of file wordgame.h. Referenced by contentsMouseMoveEvent(), contentsMousePressEvent(), contentsMouseReleaseEvent(), layoutTiles(), and Rack(). |
|
|
Definition at line 164 of file wordgame.h. Referenced by contentsMouseMoveEvent(), and layoutTiles(). |
|
|
Definition at line 165 of file wordgame.h. Referenced by contentsMouseMoveEvent(), and contentsMousePressEvent(). |
|
|
Definition at line 163 of file wordgame.h. Referenced by addTile(), arrangeTiles(), clear(), layoutTiles(), max(), Rack(), readConfig(), remove(), setBlanks(), tile(), and tileRef(). |
|
|
Definition at line 162 of file wordgame.h. Referenced by addTile(), arrangeTiles(), clear(), count(), layoutTiles(), Rack(), readConfig(), remove(), setBlanks(), and writeConfig(). |
|
|
Definition at line 167 of file wordgame.h. Referenced by playerName(), and setPlayerName(). |
1.4.2