kgoldrunner
kgrgameio.cpp
Go to the documentation of this file.
Definition: kgrgameio.h:29
Definition: kgrgameio.h:29
int toInt(bool *ok, int base) const
QList< QByteArray > split(char sep) const
KGrGameData structure: contains attributes of a KGoldrunner game.
Definition: kgrglobals.h:88
char at(int i) const
bool remove()
IOStatus fetchGameListData(const Owner o, const QString &dir, QList< KGrGameData * > &gameList, QString &filePath)
Find and read data for games, into a list of KGrGameData structures.
Definition: kgrgameio.cpp:34
const T & at(int i) const
bool rename(const QString &newName)
bool startsWith(const QByteArray &ba) const
bool exists() const
IOStatus fetchLevelData(const QString &dir, const QString &prefix, const int level, KGrLevelData &d, QString &filePath)
Find and read data for a level of a game, into a KGrLevelData structure.
Definition: kgrgameio.cpp:182
Definition: kgrgameio.h:29
bool getChar(char *c)
int indexOf(char ch, int from) const
bool readLevelData(const QString &dir, const QString &prefix, const int levelNo, KGrLevelData &d)
Find and read data for a level of a game.
Definition: kgrgameio.cpp:151
QString number(int n, int base)
int count(const T &value) const
void append(const T &value)
QString rightJustified(int width, QChar fill, bool truncate) const
const char * constData() const
QByteArray right(int len) const
static void information(QWidget *parent, const QString &caption, const QString &text, const QString &dontShowAgain=QString())
Definition: kgrdialog.cpp:306
KGrLevelData structure: contains attributes of a KGoldrunner level.
Definition: kgrglobals.h:103
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QByteArray & append(char ch)
Definition: kgrgameio.h:29
QByteArray left(int len) const
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
Definition: kgrgameio.h:29
int size() const
static bool safeRename(QWidget *theView, const QString &oldName, const QString &newName)
Definition: kgrgameio.cpp:356
bool endsWith(const QByteArray &ba) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:24 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:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.