kmahjongg
BoardLayout.cpp
Go to the documentation of this file.
369 if( getBoardData(z+1,y,x) || getBoardData(z+1,y+1,x) || getBoardData(z+1,y,x+1) || getBoardData(z+1,y+1,x+1) ) {
void setCodec(QTextCodec *codec)
QString readLine(qint64 maxlen)
char at(int i) const
QByteArray & fill(char ch, int size)
bool isEmpty() const
void copyBoardLayout(UCHAR *to, unsigned short &numTiles)
Description.
Definition: BoardLayout.cpp:266
int length() const
void resize(int size)
bool atEnd() const
int toInt(bool *ok, int base) const
void setBoardData(short z, short y, short x, UCHAR value)
Method description.
Definition: BoardLayout.cpp:414
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
bool putChar(char c)
virtual void close()
QByteArray toLatin1() const
QString mid(int position, int n) const
QTextCodec * codecForName(const QByteArray &name)
char * data()
This class implements methods for loading and manipulating board.
Definition: BoardLayout.h:36
qint64 write(const char *data, qint64 maxSize)
bool tileAbove(short z, short y, short x)
is there a tile anywhere above here (top left to bot right quarter)
Definition: BoardLayout.cpp:366
bool blockedLeftOrRight(short z, short y, short x)
is this tile blocked to the left or right
Definition: BoardLayout.cpp:376
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QByteArray toUtf8() const
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.