libkdegames
Go to the documentation of this file.
23 #ifdef MAKE_KDEGAMES_LIB
24 #define KGTHEME_PROVIDE_COMPATIBILITY_API
25 #endif //MAKE_KDEGAMES_LIB
27 #include <QtCore/QMetaType>
28 #include <QtCore/QObject>
29 #include <QtGui/QPixmap>
71 Q_PROPERTY(
QByteArray identifier READ identifier NOTIFY readOnlyProperty)
76 Q_PROPERTY(
QString description READ description WRITE setDescription NOTIFY readOnlyProperty)
77 Q_PROPERTY(
QString author READ author WRITE setAuthor NOTIFY readOnlyProperty)
78 Q_PROPERTY(
QString authorEmail READ authorEmail WRITE setAuthorEmail NOTIFY readOnlyProperty)
79 Q_PROPERTY(
QString graphicsPath READ graphicsPath WRITE setGraphicsPath NOTIFY readOnlyProperty)
80 Q_PROPERTY(
QString previewPath READ previewPath WRITE setPreviewPath NOTIFY readOnlyProperty)
95 virtual
bool readFromDesktopFile(const
QString& path);
97 #ifdef KGTHEME_PROVIDE_COMPATIBILITY_API
98 static void addConfigGroupName(
const QString&
name);
115 void setDescription(
const QString& description);
119 void setAuthor(
const QString& author);
123 void setAuthorEmail(
const QString& authorEmail);
128 void setGraphicsPath(
const QString& path);
133 void setPreviewPath(
const QString& path);
147 void readOnlyProperty();
153 Q_DECLARE_METATYPE(
const KgTheme*)
const char * name() const
KDEGAMES_EXPORT const char * name(StandardGameAction id)
This will return the internal name of a given standard action.
void setName(const char *name)
A theme describes the visual appearance of a game.
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
KDE's Doxygen guidelines are available online.