• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkdegames

kgametheme.h

Go to the documentation of this file.
00001 /*
00002     Copyright (C) 2007 Mauricio Piacentini   <mauricio@tabuleiro.com>
00003     Copyright (C) 2007 Matt Williams   <matt@milliams.com>
00004 
00005     This library is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program; if not, write to the Free Software
00017     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00018 */
00019 
00020 #ifndef KGAMETHEME_H
00021 #define KGAMETHEME_H
00022 
00023 #include <libkdegames_export.h>
00024 
00025 #include <QtCore/QString>
00026 
00027 class KGameThemePrivate;
00028 class QPixmap;
00029 
00043 class KDEGAMES_EXPORT KGameTheme
00044 {
00045     public:
00046         KGameTheme(const QString &themeGroup = QLatin1String("KGameTheme"));
00047         virtual ~KGameTheme();
00048 
00053         virtual bool loadDefault();
00064         virtual bool load(const QString &file);
00066         QString path() const;
00068         QString fileName() const;
00070         virtual QString graphics() const;
00072         QString property(const QString &key) const;
00074         QPixmap preview() const;
00084         virtual QString themeProperty(const QString &key) const;
00085 
00086     private:
00087         friend class KGameThemePrivate;
00088         KGameThemePrivate *const d;
00089 };
00090 
00091 #endif

libkdegames

Skip menu "libkdegames"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal