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

KShisen

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 QString background ()
 
static bool chineseStyle ()
 
static bool gravity ()
 
static int level ()
 
static Prefs * self ()
 
static void setBackground (const QString &v)
 
static void setChineseStyle (bool v)
 
static void setGravity (bool v)
 
static void setLevel (int v)
 
static void setSize (int v)
 
static void setSolvable (bool v)
 
static void setSounds (bool v)
 
static void setSpeed (int v)
 
static void setTilesCanSlide (bool v)
 
static void setTileSet (const QString &v)
 
static int size ()
 
static bool solvable ()
 
static bool sounds ()
 
static int speed ()
 
static bool tilesCanSlide ()
 
static QString tileSet ()
 

Protected Member Functions

 Prefs ()
 

Protected Attributes

QString mBackground
 
bool mChineseStyle
 
bool mGravity
 
int mLevel
 
int mSize
 
bool mSolvable
 
bool mSounds
 
int mSpeed
 
bool mTilesCanSlide
 
QString mTileSet
 

Detailed Description

Definition at line 9 of file prefs.h.

Constructor & Destructor Documentation

Prefs::~Prefs ( )

Definition at line 75 of file prefs.cpp.

Prefs::Prefs ( )
protected

Definition at line 27 of file prefs.cpp.

Member Function Documentation

static QString Prefs::background ( )
inlinestatic

Get The background to use.

Definition at line 49 of file prefs.h.

static bool Prefs::chineseStyle ( )
inlinestatic

Get ChineseStyle.

Definition at line 68 of file prefs.h.

static bool Prefs::gravity ( )
inlinestatic

Get Gravity.

Definition at line 125 of file prefs.h.

static int Prefs::level ( )
inlinestatic

Get Level.

Definition at line 237 of file prefs.h.

Prefs * Prefs::self ( )
static

Definition at line 17 of file prefs.cpp.

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

Set The background to use.

Definition at line 39 of file prefs.h.

static void Prefs::setChineseStyle ( bool  v)
inlinestatic

Set ChineseStyle.

Definition at line 58 of file prefs.h.

static void Prefs::setGravity ( bool  v)
inlinestatic

Set Gravity.

Definition at line 115 of file prefs.h.

static void Prefs::setLevel ( int  v)
inlinestatic

Set Level.

Definition at line 215 of file prefs.h.

static void Prefs::setSize ( int  v)
inlinestatic

Set Size.

Definition at line 184 of file prefs.h.

static void Prefs::setSolvable ( bool  v)
inlinestatic

Set Solvable.

Definition at line 96 of file prefs.h.

static void Prefs::setSounds ( bool  v)
inlinestatic

Set Sounds.

Definition at line 134 of file prefs.h.

static void Prefs::setSpeed ( int  v)
inlinestatic

Set Speed.

Definition at line 153 of file prefs.h.

static void Prefs::setTilesCanSlide ( bool  v)
inlinestatic

Set TilesCanSlide.

Definition at line 77 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 int Prefs::size ( )
inlinestatic

Get Size.

Definition at line 206 of file prefs.h.

static bool Prefs::solvable ( )
inlinestatic

Get Solvable.

Definition at line 106 of file prefs.h.

static bool Prefs::sounds ( )
inlinestatic

Get Sounds.

Definition at line 144 of file prefs.h.

static int Prefs::speed ( )
inlinestatic

Get Speed.

Definition at line 175 of file prefs.h.

static bool Prefs::tilesCanSlide ( )
inlinestatic

Get TilesCanSlide.

Definition at line 87 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

QString Prefs::mBackground
protected

Definition at line 249 of file prefs.h.

bool Prefs::mChineseStyle
protected

Definition at line 252 of file prefs.h.

bool Prefs::mGravity
protected

Definition at line 255 of file prefs.h.

int Prefs::mLevel
protected

Definition at line 259 of file prefs.h.

int Prefs::mSize
protected

Definition at line 258 of file prefs.h.

bool Prefs::mSolvable
protected

Definition at line 254 of file prefs.h.

bool Prefs::mSounds
protected

Definition at line 256 of file prefs.h.

int Prefs::mSpeed
protected

Definition at line 257 of file prefs.h.

bool Prefs::mTilesCanSlide
protected

Definition at line 253 of file prefs.h.

QString Prefs::mTileSet
protected

Definition at line 248 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:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KShisen

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