libkdegames/libkdegamesprivate
kgametheme.cpp
Go to the documentation of this file.
51 //KGlobal::dirs()->addResourceType("gametheme", KStandardDirs::kde_default("data") + KGlobal::mainComponent().componentName());
60 return load(QLatin1String( "themes/default.desktop" )); //TODO make this editable to match custom directories.
95 //Copy the whole entryMap, so we can inherit generic properties as well, reducing the need to subclass for simple implementations
100 //Format is increased when we have incompatible changes, meaning that older clients are not able to use the remaining information safely
132 kDebug(11000) << "No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault() must be called.";
143 kDebug(11000) << "No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault() must be called.";
152 kDebug(11000) << "No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault() must be called.";
161 kDebug(11000) << "No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault() must be called.";
170 kDebug(11000) << "No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault() must be called.";
179 kDebug(11000) << "No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault() must be called.";
KGameTheme(const QString &themeGroup=QLatin1String("KGameTheme"))
Definition: kgametheme.cpp:47
virtual QString themeProperty(const QString &key) const
Possible keys:
Definition: kgametheme.cpp:176
bool isEmpty() const
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
virtual void close()
QString absolutePath() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 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:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.