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

kmahjongg

Prefs Class Reference

#include <prefs.h>

Inheritance diagram for Prefs:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 9 of file prefs.h.


Public Member Functions

 ~Prefs ()

Static Public Member Functions

static QString background ()
static QString layout ()
static Prefs * self ()
static void setBackground (const QString &v)
static void setLayout (const QString &v)
static void setShowMatchingTiles (bool v)
static void setSolvableGames (bool v)
static void setTileSet (const QString &v)
static bool showMatchingTiles ()
static bool solvableGames ()
static QString tileSet ()

Protected Member Functions

 Prefs ()

Protected Attributes

QString mBackground
QString mLayout
bool mShowMatchingTiles
bool mSolvableGames
QString mTileSet

Constructor & Destructor Documentation

Prefs::~Prefs (  ) 

Definition at line 51 of file prefs.cpp.

Prefs::Prefs (  )  [protected]

Definition at line 27 of file prefs.cpp.


Member Function Documentation

static QString Prefs::background (  )  [inline, static]

Get The background to use.

Definition at line 49 of file prefs.h.

static QString Prefs::layout (  )  [inline, static]

Get The layout of the tiles.

Definition at line 68 of file prefs.h.

Prefs * Prefs::self (  )  [static]

Definition at line 17 of file prefs.cpp.

static void Prefs::setBackground ( const QString &  v  )  [inline, static]

Set The background to use.

Definition at line 39 of file prefs.h.

static void Prefs::setLayout ( const QString &  v  )  [inline, static]

Set The layout of the tiles.

Definition at line 58 of file prefs.h.

static void Prefs::setShowMatchingTiles ( bool  v  )  [inline, static]

Set Whether matching tiles are shown.

Definition at line 96 of file prefs.h.

static void Prefs::setSolvableGames ( bool  v  )  [inline, static]

Set Whether all games should be solvable.

Definition at line 77 of file prefs.h.

static void Prefs::setTileSet ( const QString &  v  )  [inline, static]

Set The tile-set to use.

Definition at line 20 of file prefs.h.

static bool Prefs::showMatchingTiles (  )  [inline, static]

Get Whether matching tiles are shown.

Definition at line 106 of file prefs.h.

static bool Prefs::solvableGames (  )  [inline, static]

Get Whether all games should be solvable.

Definition at line 87 of file prefs.h.

static QString Prefs::tileSet (  )  [inline, static]

Get The tile-set to use.

Definition at line 30 of file prefs.h.


Member Data Documentation

QString Prefs::mBackground [protected]

Definition at line 118 of file prefs.h.

QString Prefs::mLayout [protected]

Definition at line 119 of file prefs.h.

bool Prefs::mShowMatchingTiles [protected]

Definition at line 121 of file prefs.h.

bool Prefs::mSolvableGames [protected]

Definition at line 120 of file prefs.h.

QString Prefs::mTileSet [protected]

Definition at line 117 of file prefs.h.


The documentation for this class was generated from the following files:
  • prefs.h
  • prefs.cpp

kmahjongg

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