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

kmahjongg

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Prefs Class Reference

#include <prefs.h>

Inheritance diagram for Prefs:
Inheritance graph
[legend]

Public Member Functions

 ~Prefs ()
 

Static Public Member Functions

static int angle ()
 
static QString background ()
 
static QRect editorGeometry ()
 
static QString layout ()
 
static bool randomLayout ()
 
static Prefs * self ()
 
static void setAngle (int v)
 
static void setBackground (const QString &v)
 
static void setEditorGeometry (const QRect &v)
 
static void setLayout (const QString &v)
 
static void setRandomLayout (bool 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

int mAngle
 
QString mBackground
 
QRect mEditorGeometry
 
QString mLayout
 
bool mRandomLayout
 
bool mShowMatchingTiles
 
bool mSolvableGames
 
QString mTileSet
 

Detailed Description

Definition at line 9 of file prefs.h.

Constructor & Destructor Documentation

Prefs::~Prefs ( )

Definition at line 60 of file prefs.cpp.

Prefs::Prefs ( )
protected

Definition at line 27 of file prefs.cpp.

Member Function Documentation

static int Prefs::angle ( )
inlinestatic

Get Angle.

Definition at line 87 of file prefs.h.

static QString Prefs::background ( )
inlinestatic

Get The background to use.

Definition at line 49 of file prefs.h.

static QRect Prefs::editorGeometry ( )
inlinestatic

Get EditorGeometry.

Definition at line 163 of file prefs.h.

static QString Prefs::layout ( )
inlinestatic

Get The layout of the tiles.

Definition at line 68 of file prefs.h.

static bool Prefs::randomLayout ( )
inlinestatic

Get Whether a random layout is chosen on startup.

Definition at line 106 of file prefs.h.

Prefs * Prefs::self ( )
static

Definition at line 17 of file prefs.cpp.

static void Prefs::setAngle ( int  v)
inlinestatic

Set Angle.

Definition at line 77 of file prefs.h.

static void Prefs::setBackground ( const QString &  v)
inlinestatic

Set The background to use.

Definition at line 39 of file prefs.h.

static void Prefs::setEditorGeometry ( const QRect &  v)
inlinestatic

Set EditorGeometry.

Definition at line 153 of file prefs.h.

static void Prefs::setLayout ( const QString &  v)
inlinestatic

Set The layout of the tiles.

Definition at line 58 of file prefs.h.

static void Prefs::setRandomLayout ( bool  v)
inlinestatic

Set Whether a random layout is chosen on startup.

Definition at line 96 of file prefs.h.

static void Prefs::setShowMatchingTiles ( bool  v)
inlinestatic

Set Whether matching tiles are shown.

Definition at line 134 of file prefs.h.

static void Prefs::setSolvableGames ( bool  v)
inlinestatic

Set Whether all games should be solvable.

Definition at line 115 of file prefs.h.

static void Prefs::setTileSet ( const QString &  v)
inlinestatic

Set The tile-set to use.

Definition at line 20 of file prefs.h.

static bool Prefs::showMatchingTiles ( )
inlinestatic

Get Whether matching tiles are shown.

Definition at line 144 of file prefs.h.

static bool Prefs::solvableGames ( )
inlinestatic

Get Whether all games should be solvable.

Definition at line 125 of file prefs.h.

static QString Prefs::tileSet ( )
inlinestatic

Get The tile-set to use.

Definition at line 30 of file prefs.h.

Member Data Documentation

int Prefs::mAngle
protected

Definition at line 177 of file prefs.h.

QString Prefs::mBackground
protected

Definition at line 175 of file prefs.h.

QRect Prefs::mEditorGeometry
protected

Definition at line 181 of file prefs.h.

QString Prefs::mLayout
protected

Definition at line 176 of file prefs.h.

bool Prefs::mRandomLayout
protected

Definition at line 178 of file prefs.h.

bool Prefs::mShowMatchingTiles
protected

Definition at line 180 of file prefs.h.

bool Prefs::mSolvableGames
protected

Definition at line 179 of file prefs.h.

QString Prefs::mTileSet
protected

Definition at line 174 of file prefs.h.


The documentation for this class was generated from the following files:
  • prefs.h
  • prefs.cpp
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