kmahjongg
boardwidget.cpp
Go to the documentation of this file.
660 Game->setRemovedTilePair(Game->MoveListData(Game->TileNum - 1), Game->MoveListData(Game->TileNum
void setInterval(int msec)
Definition: boardwidget.h:368
void setBrush(ColorRole role, const QBrush &brush)
iterator insert(const Key &key, const T &value)
const Key key(const T &value) const
void setColor(ColorGroup group, ColorRole role, const QColor &color)
bool hasNext() const
void transformPointToPosition(const QPoint &point, POSITION &MouseClickPos)
Transform window point to board position.
Definition: boardwidget.cpp:971
bool validMovesAvailable()
This method test if any valid moves are available.
Definition: boardwidget.cpp:1238
const T & at(int i) const
void putTileInBoard(POSITION &, bool refresh=true)
Method Description.
Definition: boardwidget.cpp:818
int height() const
int x() const
int y() const
int size() const
void clearRemovedTilePair(POSITION &a, POSITION &b)
Definition: GameData.cpp:824
bool loadBackground(const QString &, bool bShowError=true)
Slot Description.
Definition: boardwidget.cpp:1048
void hilightTile(POSITION &, bool on=true, bool refresh=true)
Method Description.
Definition: boardwidget.cpp:770
Qt::Orientation orientation() const
Qt::MouseButton button() const
void tileNumberChanged(int iMaximum, int iCurrent, int iLeft)
Signal Description.
Definition: boardwidget.h:371
bool spontaneous() const
bool contains(const QPoint &point, bool proper) const
QString authorProperty(const QString &key) const
Definition: kmahjongglayout.cpp:127
void clear()
const T value(const Key &key) const
enum BoardWidget::STATES TimerState
const QSize & size() const
Item next()
short findAllMatchingTiles(POSITION &posA)
Definition: GameData.cpp:1005
void stop()
int delta() const
bool isMatchingTile(POSITION &Pos1, POSITION &Pos2)
Definition: GameData.cpp:762
This class wraps tile drawing, so it can blit the selected or unselected background, plus the tileface, positioned in the correct orientation.
Definition: TileSprite.h:41
int width() const
T take(const Key &key)
void setRect(int x, int y, int width, int height)
void gameOver(unsigned short removed, unsigned short cheats)
Signal Description.
virtual void wheelEvent(QWheelEvent *event)
Overridden virtual method for wheel events.
Definition: boardwidget.cpp:1256
void setHighlightData(short z, short y, short x, UCHAR value)
Method Description.
Definition: GameData.cpp:94
void start(int msec)
bool contains(const Key &key) const
virtual void resizeEvent(QResizeEvent *event)
Virtual Method Description.
Definition: boardwidget.cpp:122
const QPoint & pos() const
const T & value() const
int compare(const QString &other) const
Definition: boardwidget.h:367
KGameCanvasItem * itemAt(const QPoint &point) const
Override the itemAt method of the KGameCanvasWidget.
Definition: boardwidget.cpp:923
void setSingleShot(bool singleShot)
void setRemovedTilePair(POSITION &a, POSITION &b)
Definition: GameData.cpp:777
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.