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

parley

  • sources
  • kde-4.12
  • kdeedu
  • parley
  • src
  • settings
  • kgametheme
kgamethemeselector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2006 Mauricio Piacentini <mauricio@tabuleiro.com>
3  Copyright (C) 2007 Matt Williams <matt@milliams.com>
4 
5  This library is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef KGAMETHEMESELECTOR_H
21 #define KGAMETHEMESELECTOR_H
22 
23 #include <QtGui/QWidget>
24 
25 //#include <libkdegames_export.h>
26 
27 class KGameTheme;
28 class KConfigSkeleton;
29 class KGameThemeSelectorPrivate;
30 
48 class KGameThemeSelector : public QWidget
49 {
50  Q_OBJECT
51  public:
52  enum NewStuffState {
53  NewStuffDisableDownload,
54  NewStuffEnableDownload
55  };
62  KGameThemeSelector(QWidget* parent, KConfigSkeleton* config, KGameThemeSelector::NewStuffState knsflags = KGameThemeSelector::NewStuffEnableDownload, const QString &groupName = QLatin1String("KGameTheme"), const QString &directory = QLatin1String("themes"));
63  virtual ~KGameThemeSelector();
64 
65  private:
66  class KGameThemeSelectorPrivate;
67  KGameThemeSelectorPrivate* const d;
68 
69  Q_DISABLE_COPY(KGameThemeSelector)
70 
71  Q_PRIVATE_SLOT(d, void _k_updatePreview())
72  Q_PRIVATE_SLOT(d, void _k_updateThemeList(const QString&))
73  Q_PRIVATE_SLOT(d, void _k_openKNewStuffDialog())
74 };
75 
76 #endif
QWidget
KGameTheme
Class for loading theme files.
Definition: kgametheme.h:42
KConfigSkeleton
KGameThemeSelector::NewStuffEnableDownload
Definition: kgamethemeselector.h:54
KGameThemeSelector::KGameThemeSelector
KGameThemeSelector(QWidget *parent, KConfigSkeleton *config, KGameThemeSelector::NewStuffState knsflags=KGameThemeSelector::NewStuffEnableDownload, const QString &groupName=QLatin1String("KGameTheme"), const QString &directory=QLatin1String("themes"))
Load a specific theme file.
Definition: kgamethemeselector.cpp:53
KGameThemeSelector::~KGameThemeSelector
virtual ~KGameThemeSelector()
Definition: kgamethemeselector.cpp:61
KGameThemeSelector::NewStuffDisableDownload
Definition: kgamethemeselector.h:53
KGameThemeSelector
A widget used to select the game's theme.
Definition: kgamethemeselector.h:48
KGameThemeSelector::NewStuffState
NewStuffState
Definition: kgamethemeselector.h:52
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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