libkdegames/highscore
Go to the documentation of this file.
24 #include <libkdegames_export.h>
26 #include <QtCore/QObject>
101 void readCurrentConfig();
113 static void init(
const char *appname);
130 bool lockForWriting(
QWidget *widget = 0);
137 void writeAndUnlock();
143 bool isLocked()
const;
158 void writeEntry(
int entry,
const QString& key,
const QString& value);
164 void writeEntry(
int entry,
const QString& key,
int value);
171 void writeEntry(
int entry,
const QString& key,
const QVariant &value);
184 QString readEntry(
int entry,
const QString& key,
const QString& pDefault = QLatin1String(
""))
const;
197 int readNumEntry(
int entry,
const QString& key,
int pDefault = -1)
const;
206 QVariant readPropertyEntry(
int entry,
const QString &key,
const QVariant &pDefault)
const;
212 bool hasEntry(
int entry,
const QString& key)
const;
231 QStringList readList(
const QString& key,
int lastEntry = 20)
const;
244 void writeList(
const QString& key,
const QStringList& list);
254 bool hasTable()
const;
263 void setHighscoreGroup(
const QString& groupname = QLatin1String(
""));
272 QStringList groupList()
const;
279 QString highscoreGroup()
const;
286 QString group()
const;
293 KConfig* config()
const;
295 void init(
bool forceLocal);
298 class KHighscorePrivate;
299 KHighscorePrivate*
const d;
Class for managing highscore tables.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:43 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.