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

ksquares

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

#include <settings.h>

Inheritance diagram for Settings:
Inheritance graph
[legend]

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
 

Detailed Description

Definition at line 9 of file settings.h.

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 ( )
inlinestatic

Get Height of board.

Definition at line 106 of file settings.h.

static int Settings::boardWidth ( )
inlinestatic

Get Width of board.

Definition at line 87 of file settings.h.

static int Settings::difficulty ( )
inlinestatic

Get Difficulty.

Definition at line 144 of file settings.h.

static QColor Settings::highlightColor ( )
inlinestatic

Get Highlight Color.

Definition at line 192 of file settings.h.

static QList<int> Settings::humanList ( )
inlinestatic

Get Human or AI.

Definition at line 68 of file settings.h.

static QColor Settings::indicatorLineColor ( )
inlinestatic

Get Indicator Line Color.

Definition at line 182 of file settings.h.

static QColor Settings::lineColor ( )
inlinestatic

Get Line Color.

Definition at line 163 of file settings.h.

static int Settings::numOfPlayers ( )
inlinestatic

Get Number of Players.

Definition at line 30 of file settings.h.

static QStringList Settings::playerNames ( )
inlinestatic

Get Player Names.

Definition at line 49 of file settings.h.

static int Settings::quickStart ( )
inlinestatic

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)
inlinestatic

Set Height of board.

Definition at line 96 of file settings.h.

static void Settings::setBoardWidth ( int  v)
inlinestatic

Set Width of board.

Definition at line 77 of file settings.h.

static void Settings::setDifficulty ( int  v)
inlinestatic

Set Difficulty.

Definition at line 134 of file settings.h.

static void Settings::setHumanList ( const QList< int > &  v)
inlinestatic

Set Human or AI.

Definition at line 58 of file settings.h.

static void Settings::setIndicatorLineColor ( const QColor &  v)
inlinestatic

Set Indicator Line Color.

Definition at line 172 of file settings.h.

static void Settings::setLineColor ( const QColor &  v)
inlinestatic

Set Line Color.

Definition at line 153 of file settings.h.

static void Settings::setNumOfPlayers ( int  v)
inlinestatic

Set Number of Players.

Definition at line 20 of file settings.h.

static void Settings::setPlayerNames ( const QStringList &  v)
inlinestatic

Set Player Names.

Definition at line 39 of file settings.h.

static void Settings::setQuickStart ( int  v)
inlinestatic

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ksquares

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

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