• 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
kmahjongglayout.h
Go to the documentation of this file.
1 /*
2  kmahjongg, the classic mahjongg game for KDE
3  Copyright (C) 2007 Mauricio Piacentini <mauricio@tabuleiro.com>
4 
5  KMahjongg 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 _KMAHJONGGLAYOUT_H_
21 #define _KMAHJONGGLAYOUT_H_
22 
23 #include <QtGui/QBrush>
24 
25 class BoardLayout;
26 class KMahjonggLayoutPrivate;
27 
28 class KMahjonggLayout
29 {
30  public:
31  KMahjonggLayout();
32  ~KMahjonggLayout();
33 
34  bool load(const QString &file);
35  bool loadDefault();
36  QString path() const;
37  QString authorProperty(const QString &key) const;
38  BoardLayout * board() ;
39 
40  private:
41  friend class KMahjonggLayoutPrivate;
42  KMahjonggLayoutPrivate *const d;
43  QString filename;
44 
45  Q_DISABLE_COPY(KMahjonggLayout)
46 };
47 
48 #endif
KMahjonggLayout
Definition: kmahjongglayout.h:28
KMahjonggLayout::loadDefault
bool loadDefault()
Definition: kmahjongglayout.cpp:62
KMahjonggLayout::KMahjonggLayout
KMahjonggLayout()
Definition: kmahjongglayout.cpp:47
KMahjonggLayout::load
bool load(const QString &file)
Definition: kmahjongglayout.cpp:76
KMahjonggLayout::KMahjonggLayoutPrivate
friend class KMahjonggLayoutPrivate
Definition: kmahjongglayout.h:41
KMahjonggLayout::path
QString path() const
Definition: kmahjongglayout.cpp:123
QString
KMahjonggLayout::authorProperty
QString authorProperty(const QString &key) const
Definition: kmahjongglayout.cpp:127
KMahjonggLayout::~KMahjonggLayout
~KMahjonggLayout()
Definition: kmahjongglayout.cpp:58
BoardLayout
This class implements methods for loading and manipulating board.
Definition: BoardLayout.h:36
KMahjonggLayout::board
BoardLayout * board()
Definition: kmahjongglayout.cpp:119
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