KDEGames
kgamedifficulty.h
49 KGameDifficultyLevel(int hardness, const QByteArray &key, const QString &title, bool isDefault = false);
93 Q_PROPERTY(const KGameDifficultyLevel *currentLevel READ currentLevel WRITE select NOTIFY currentLevelChanged)
94 Q_PROPERTY(const KGameDifficultyLevel *selectedLevel READ currentLevel WRITE select NOTIFY selectedLevelChanged)
123 void addStandardLevelRange(KGameDifficultyLevel::StandardLevel from, KGameDifficultyLevel::StandardLevel to);
127 addStandardLevelRange(KGameDifficultyLevel::StandardLevel from, KGameDifficultyLevel::StandardLevel to, KGameDifficultyLevel::StandardLevel defaultLevel);
Q_PROPERTY(...)
Q_ENUM(...)
Q_SLOTSQ_SLOTS
KGameDifficulty manages difficulty levels of a game in a standard way.
Definition: kgamedifficulty.h:88
Definition: kgamedifficulty.cpp:345
Q_SIGNALSQ_SIGNALS
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
Install standard GUI components for the manipulation of the given KGameDifficulty instance in the giv...
Definition: kgamedifficulty.cpp:394
Definition: kgamedifficulty.h:24
Q_DISABLE_COPY(Class)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:08:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:08:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.