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

kmahjongg

  • sources
  • kde-4.14
  • kdegames
  • kmahjongg
kmahjongglayoutselector.h
Go to the documentation of this file.
1 /*
2  KMahjonggLayoutSelector
3  Part of kmahjongg, the classic mahjongg game for KDE
4 
5  Copyright (C) 2007 Mauricio Piacentini <mauricio@tabuleiro.com>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21 */
22 
23 #ifndef _KMAHJONGGLAYOUTSELECTOR_H
24 #define _KMAHJONGGLAYOUTSELECTOR_H
25 
26 #include <QMap>
27 #include <KConfigSkeleton>
28 #include "ui_gametype.h"
29 
30 class KMahjonggLayout;
31 class BoardWidget;
32 
33 class KMahjonggLayoutSelector : public QWidget, public Ui::KMahjonggLayoutSelector
34 {
35  Q_OBJECT
36  public:
37  explicit KMahjonggLayoutSelector( QWidget* parent, KConfigSkeleton * config );
38 
39  void setupData(KConfigSkeleton * config);
40 
41  QMap<QString, KMahjonggLayout *> layoutMap;
42  public slots:
43  void layoutChanged();
44  void useRandomLayoutToggled(bool);
45  private:
46  BoardWidget * bw;
47 };
48 
49 #endif
KMahjonggLayoutSelector::useRandomLayoutToggled
void useRandomLayoutToggled(bool)
Definition: kmahjongglayoutselector.cpp:127
KMahjonggLayout
Definition: kmahjongglayout.h:28
QWidget
KMahjonggLayoutSelector::layoutMap
QMap< QString, KMahjonggLayout * > layoutMap
Definition: kmahjongglayoutselector.h:41
QMap< QString, KMahjonggLayout * >
KConfigSkeleton
KMahjonggLayoutSelector::setupData
void setupData(KConfigSkeleton *config)
Definition: kmahjongglayoutselector.cpp:43
KMahjonggLayoutSelector::KMahjonggLayoutSelector
KMahjonggLayoutSelector(QWidget *parent, KConfigSkeleton *config)
Definition: kmahjongglayoutselector.cpp:34
KMahjonggLayoutSelector
Definition: kmahjongglayoutselector.h:33
QObject::parent
QObject * parent() const
KMahjonggLayoutSelector::layoutChanged
void layoutChanged()
Definition: kmahjongglayoutselector.cpp:86
BoardWidget
Where all the funn happens.
Definition: boardwidget.h:52
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmahjongg

Skip menu "kmahjongg"
  • 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