libkdegames
kgdifficulty.h
Go to the documentation of this file.
46 Custom = -1,
47 RidiculouslyEasy = 10,
48 VeryEasy = 20,
49 Easy = 30,
50 Medium = 40,
51 Hard = 50,
52 VeryHard = 60,
53 ExtremelyHard = 70,
54 Impossible = 80
58 KgDifficultyLevel(int hardness, const QByteArray& key, const QString& title, bool isDefault = false);
101 Q_PROPERTY(const KgDifficultyLevel* currentLevel READ currentLevel WRITE select NOTIFY currentLevelChanged)
102 Q_PROPERTY(const KgDifficultyLevel* selectedLevel READ currentLevel WRITE select NOTIFY selectedLevelChanged)
124 void addStandardLevelRange(KgDifficultyLevel::StandardLevel from, KgDifficultyLevel::StandardLevel to);
127 void addStandardLevelRange(KgDifficultyLevel::StandardLevel from, KgDifficultyLevel::StandardLevel to, KgDifficultyLevel::StandardLevel defaultLevel);
178 namespace Kg
KDEGAMES_EXPORT KgDifficultyLevel::StandardLevel difficultyLevel()
A shortcut for Kg::difficulty()->currentLevel()->standardLevel().
Definition: kgdifficulty.cpp:334
KDEGAMES_EXPORT void init(KXmlGuiWindow *window, KgDifficulty *difficulty=0)
Install standard GUI components for the manipulation of the given KgDifficulty instance in the given ...
Definition: kgdifficulty.cpp:374
Definition: kgdifficulty.h:33
KgDifficulty manages difficulty levels of a game in a standard way.
Definition: kgdifficulty.h:96
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:42 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:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.