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

ksquares

Settings Class Reference

#include <settings.h>

Inheritance diagram for Settings:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 9 of file settings.h.


Public Member Functions

 ~Settings ()

Static Public Member Functions

static int boardHeight ()
static int boardWidth ()
static int difficulty ()
static QColor highlightColor ()
static QList< int > humanList ()
static QColor indicatorLineColor ()
static QColor lineColor ()
static int numOfPlayers ()
static QStringList playerNames ()
static int quickStart ()
static Settings * self ()
static void setBoardHeight (int v)
static void setBoardWidth (int v)
static void setDifficulty (int v)
static void setHumanList (const QList< int > &v)
static void setIndicatorLineColor (const QColor &v)
static void setLineColor (const QColor &v)
static void setNumOfPlayers (int v)
static void setPlayerNames (const QStringList &v)
static void setQuickStart (int v)

Protected Member Functions

 Settings ()

Protected Attributes

int mBoardHeight
int mBoardWidth
int mDifficulty
QColor mHighlightColor
QList< int > mHumanList
QColor mIndicatorLineColor
QColor mLineColor
int mNumOfPlayers
QStringList mPlayerNames
int mQuickStart

Constructor & Destructor Documentation

Settings::~Settings (  ) 

Definition at line 78 of file settings.cpp.

Settings::Settings (  )  [protected]

Definition at line 27 of file settings.cpp.


Member Function Documentation

static int Settings::boardHeight (  )  [inline, static]

Get Height of board.

Definition at line 106 of file settings.h.

static int Settings::boardWidth (  )  [inline, static]

Get Width of board.

Definition at line 87 of file settings.h.

static int Settings::difficulty (  )  [inline, static]

Get Difficulty.

Definition at line 144 of file settings.h.

static QColor Settings::highlightColor (  )  [inline, static]

Get Highlight Color.

Definition at line 192 of file settings.h.

static QList<int> Settings::humanList (  )  [inline, static]

Get Human or AI.

Definition at line 68 of file settings.h.

static QColor Settings::indicatorLineColor (  )  [inline, static]

Get Indicator Line Color.

Definition at line 182 of file settings.h.

static QColor Settings::lineColor (  )  [inline, static]

Get Line Color.

Definition at line 163 of file settings.h.

static int Settings::numOfPlayers (  )  [inline, static]

Get Number of Players.

Definition at line 30 of file settings.h.

static QStringList Settings::playerNames (  )  [inline, static]

Get Player Names.

Definition at line 49 of file settings.h.

static int Settings::quickStart (  )  [inline, static]

Get Quick start the game.

Definition at line 125 of file settings.h.

Settings * Settings::self (  )  [static]

Definition at line 17 of file settings.cpp.

static void Settings::setBoardHeight ( int  v  )  [inline, static]

Set Height of board.

Definition at line 96 of file settings.h.

static void Settings::setBoardWidth ( int  v  )  [inline, static]

Set Width of board.

Definition at line 77 of file settings.h.

static void Settings::setDifficulty ( int  v  )  [inline, static]

Set Difficulty.

Definition at line 134 of file settings.h.

static void Settings::setHumanList ( const QList< int > &  v  )  [inline, static]

Set Human or AI.

Definition at line 58 of file settings.h.

static void Settings::setIndicatorLineColor ( const QColor &  v  )  [inline, static]

Set Indicator Line Color.

Definition at line 172 of file settings.h.

static void Settings::setLineColor ( const QColor &  v  )  [inline, static]

Set Line Color.

Definition at line 153 of file settings.h.

static void Settings::setNumOfPlayers ( int  v  )  [inline, static]

Set Number of Players.

Definition at line 20 of file settings.h.

static void Settings::setPlayerNames ( const QStringList &  v  )  [inline, static]

Set Player Names.

Definition at line 39 of file settings.h.

static void Settings::setQuickStart ( int  v  )  [inline, static]

Set Quick start the game.

Definition at line 115 of file settings.h.


Member Data Documentation

int Settings::mBoardHeight [protected]

Definition at line 207 of file settings.h.

int Settings::mBoardWidth [protected]

Definition at line 206 of file settings.h.

int Settings::mDifficulty [protected]

Definition at line 211 of file settings.h.

QColor Settings::mHighlightColor [protected]

Definition at line 216 of file settings.h.

QList<int> Settings::mHumanList [protected]

Definition at line 205 of file settings.h.

QColor Settings::mIndicatorLineColor [protected]

Definition at line 215 of file settings.h.

QColor Settings::mLineColor [protected]

Definition at line 214 of file settings.h.

int Settings::mNumOfPlayers [protected]

Definition at line 203 of file settings.h.

QStringList Settings::mPlayerNames [protected]

Definition at line 204 of file settings.h.

int Settings::mQuickStart [protected]

Definition at line 208 of file settings.h.


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

ksquares

Skip menu "ksquares"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

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