9#ifndef KGAMEHIGHSCORE_H
10#define KGAMEHIGHSCORE_H
13#include <kdegames_export.h>
93 void readCurrentConfig();
105 static void init(
const char *appname);
122 bool lockForWriting(
QWidget *widget =
nullptr);
129 void writeAndUnlock();
135 bool isLocked()
const;
150 void writeEntry(
int entry,
const QString &key,
const QString &value);
156 void writeEntry(
int entry,
const QString &key,
int value);
189 int readNumEntry(
int entry,
const QString &key,
int pDefault = -1)
const;
204 bool hasEntry(
int entry,
const QString &key)
const;
246 bool hasTable()
const;
271 QString highscoreGroup()
const;
287 void init(
bool forceLocal);
290 std::unique_ptr<class KGameHighscorePrivate>
const d_ptr;
Class for managing highscore tables.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:04 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.