• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

kgoldrunner

  • sources
  • kde-4.14
  • kdegames
  • kgoldrunner
  • src
kgrthemetypes.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright 2012 Ian Wadham <iandw.au@gmail.com> *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License as *
6  * published by the Free Software Foundation; either version 2 of *
7  * the License, or (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
16  ****************************************************************************/
17 
18 #ifndef KGRTHEMETYPES_H
19 #define KGRTHEMETYPES_H
20 
21 #include <KgTheme>
22 
26 class KGrActorsTheme : public KgTheme
27 {
28  Q_OBJECT
29 public:
30  Q_INVOKABLE KGrActorsTheme(const QByteArray &identifier, QObject *parent=0);
31  virtual ~KGrActorsTheme();
32 
33  /*
34  * Re-defined from KgTheme. Finds a SVG file with config name "Actors".
35  *
36  * @param path The full path of the theme's .desktop file.
37  */
38  bool readFromDesktopFile(const QString& path);
39 };
40 
41 
45 class KGrSetTheme : public KgTheme
46 {
47  Q_OBJECT
48 public:
49  Q_INVOKABLE KGrSetTheme(const QByteArray &identifier, QObject *parent=0);
50  virtual ~KGrSetTheme();
51 
52  /*
53  * Re-defined from KgTheme. Finds a SVG file with config name "Set".
54  *
55  * @param path The full path of the theme's .desktop file.
56  */
57  bool readFromDesktopFile(const QString& path);
58 };
59 
60 #endif // KGRTHEMETYPES_H
KGrActorsTheme
Class to locate KGoldrunner's "Actors" SVG files: derived from KgTheme.
Definition: kgrthemetypes.h:26
KGrActorsTheme::KGrActorsTheme
Q_INVOKABLE KGrActorsTheme(const QByteArray &identifier, QObject *parent=0)
Definition: kgrthemetypes.cpp:37
KGrSetTheme::~KGrSetTheme
virtual ~KGrSetTheme()
Definition: kgrthemetypes.cpp:64
QByteArray
KGrSetTheme
Class to locate KGoldrunner's "Set" SVG files: derived from KgTheme.
Definition: kgrthemetypes.h:45
QObject
QString
KGrActorsTheme::readFromDesktopFile
bool readFromDesktopFile(const QString &path)
Definition: kgrthemetypes.cpp:47
KGrActorsTheme::~KGrActorsTheme
virtual ~KGrActorsTheme()
Definition: kgrthemetypes.cpp:43
KgTheme
KGrSetTheme::readFromDesktopFile
bool readFromDesktopFile(const QString &path)
Definition: kgrthemetypes.cpp:68
KGrSetTheme::KGrSetTheme
Q_INVOKABLE KGrSetTheme(const QByteArray &identifier, QObject *parent=0)
Definition: kgrthemetypes.cpp:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgoldrunner

Skip menu "kgoldrunner"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal