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

libkmahjongg

kmahjonggbackground.h

Go to the documentation of this file.
00001 /*
00002     Copyright (C) 1997 Mathias Mueller   <in5y158@public.uni-hamburg.de>
00003     Copyright (C) 2006 Mauricio Piacentini   <mauricio@tabuleiro.com>
00004 
00005     Libkmahjongg 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 _KMAHJONGGBACKGROUND_H_
00021 #define _KMAHJONGGBACKGROUND_H_
00022 
00023 #include <QtGui/QBrush>
00024 
00025 #include "libkmahjongg_export.h"
00026 
00027 class KMahjonggBackgroundPrivate;
00028 
00029 class KMAHJONGGLIB_EXPORT KMahjonggBackground  
00030 {
00031   public:
00032     KMahjonggBackground();
00033     ~KMahjonggBackground();
00034 
00035     bool loadDefault();
00036     bool load(const QString &file, short width, short height);
00037     bool loadGraphics();
00038     void sizeChanged(int newW, int newH);
00039     QBrush & getBackground();
00040     QString path() const;
00041     QString authorProperty(const QString &key) const;
00042 
00043  private:
00044     friend class KMahjonggBackgroundPrivate;
00045     KMahjonggBackgroundPrivate *const d;
00046 
00047     Q_DISABLE_COPY(KMahjonggBackground)
00048 };
00049 
00050 #endif

libkmahjongg

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

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