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

Public Member Functions | |
| PiecesTable (QWidget *parent=0, const char *name=0) | |
| ~PiecesTable () | |
Protected Slots | |
| void | slotConfigure () |
| void | slotCustomImage (const QString &str) |
| void | slotRandomize () |
| void | slotReset () |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) |
| void | mousePressEvent (QMouseEvent *) |
| void | paintCell (QPainter *, int row, int col) |
| void | initImage () |
| void | initMap () |
| void | initColors () |
| void | randomizeMap () |
| void | checkwin () |
| void | readConfig () |
| void | writeConfig () |
| void | initPolygon (int w, int h, int x_of, int y_of) |
Private Types | |
| enum | MenuOp { mRandomize = 1, mReset = 2 } |
Private Member Functions | |
| void | clear () |
Private Attributes | |
| QString | _image |
| QArray< int > | _map |
| QArray< QColor > | _colors |
| QArray< QPixmap * > | _pixmap |
| QPopupMenu * | _menu |
| bool | _randomized |
| QPointArray | light_border |
| QPointArray | dark_border |
| FifteenConfigDialog * | _dialog |
|
|
|
|
||||||||||||
|
Definition at line 88 of file fifteen.cpp. References initColors(), and readConfig(). |
|
|
Definition at line 107 of file fifteen.cpp. References clear(), and writeConfig(). |
|
|
Definition at line 402 of file fifteen.cpp. References _map, _randomized, FALSE, i, items, and tr. Referenced by mousePressEvent(). |
|
|
Definition at line 162 of file fifteen.cpp. Referenced by slotCustomImage(), and ~PiecesTable(). |
|
|
Definition at line 324 of file fifteen.cpp. References _colors. Referenced by PiecesTable(). |
|
|
|
|
|
Definition at line 332 of file fifteen.cpp. References _map, _randomized, i, and items. Referenced by mousePressEvent(), randomizeMap(), readConfig(), and slotReset(). |
|
||||||||||||||||||||
|
Definition at line 258 of file fifteen.cpp. References dark_border, and light_border. Referenced by slotCustomImage(). |
|
|
Definition at line 431 of file fifteen.cpp. References _map, _menu, checkwin(), col, initMap(), mRandomize, mReset, pos, randomizeMap(), row, and tr. |
|
||||||||||||||||
|
Definition at line 276 of file fifteen.cpp. References _map, _pixmap, background, and pos. |
|
|
Definition at line 342 of file fifteen.cpp. References _map, _randomized, col, initMap(), pos, and row. Referenced by mousePressEvent(), and slotRandomize(). |
|
|
Definition at line 131 of file fifteen.cpp. References _image, _map, _randomized, QValueList< T >::begin(), QValueList< T >::count(), QValueList< T >::end(), FALSE, i, initMap(), items, QString::null, Config::readBoolEntry(), Config::readEntry(), Config::readListEntry(), Config::readNumEntry(), and Config::setGroup(). Referenced by PiecesTable(). |
|
|
Definition at line 306 of file fifteen.cpp. References _image, height, slotCustomImage(), and width. Referenced by slotConfigure(). |
|
|
Definition at line 524 of file fifteen.cpp. References _dialog, _image, QPEApplication::execDialog(), l, resizeEvent(), FifteenConfigDialog::setGameboard(), FifteenConfigDialog::setImageSrc(), and slotReset(). |
|
|
Definition at line 174 of file fifteen.cpp. References _colors, _image, _pixmap, clear(), col, dark_border, empty, f, height, image, initPolygon(), QString::isEmpty(), light_border, QString::null, QString::number(), p, pix, row, str, TRUE, and width. Referenced by resizeEvent(). |
|
|
Definition at line 420 of file fifteen.cpp. References randomizeMap(). |
|
|
Definition at line 425 of file fifteen.cpp. References initMap(). Referenced by slotConfigure(). |
|
|
Definition at line 113 of file fifteen.cpp. References _image, _map, _randomized, QValueList< T >::append(), i, items, QString::number(), Config::setGroup(), and Config::writeEntry(). Referenced by ~PiecesTable(). |
|
|
Definition at line 67 of file fifteen.h. Referenced by initColors(), and slotCustomImage(). |
|
|
Definition at line 74 of file fifteen.h. Referenced by slotConfigure(). |
|
|
Definition at line 65 of file fifteen.h. Referenced by readConfig(), resizeEvent(), slotConfigure(), slotCustomImage(), and writeConfig(). |
|
|
Definition at line 66 of file fifteen.h. Referenced by checkwin(), initMap(), mousePressEvent(), paintCell(), randomizeMap(), readConfig(), and writeConfig(). |
|
|
Definition at line 70 of file fifteen.h. Referenced by mousePressEvent(). |
|
|
Definition at line 68 of file fifteen.h. Referenced by clear(), paintCell(), and slotCustomImage(). |
|
|
Definition at line 71 of file fifteen.h. Referenced by checkwin(), initMap(), randomizeMap(), readConfig(), and writeConfig(). |
|
|
Definition at line 73 of file fifteen.h. Referenced by initPolygon(), and slotCustomImage(). |
|
|
Definition at line 72 of file fifteen.h. Referenced by initPolygon(), and slotCustomImage(). |
1.4.2