KGameDifficultyGUI Namespace
Methods to integrate KGameDifficulty into the UI. More...
| Header: | #include <kgamedifficulty.h> |
Functions
| void | init(KXmlGuiWindow *window, KGameDifficulty *difficulty = nullptr) |
Detailed Description
The namespace for methods to integrate KGameDifficulty into the UI.
See also KGameDifficulty.
Function Documentation
void KGameDifficultyGUI::init(KXmlGuiWindow *window, KGameDifficulty *difficulty = nullptr)
Install standard GUI components for the manipulation of the KGameDifficulty instance difficulty in the given window.
Without a second parameter, the KGameDifficulty::global() singleton is used.