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

granatier

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 QString arena ()
 
static int blastTime1 ()
 
static int blastTime2 ()
 
static int blastTime3 ()
 
static int blastTime4 ()
 
static int blastTime5 ()
 
static int dummy ()
 
static int firstRun ()
 
static int initialBombArmory ()
 
static int initialBombPower ()
 
static int initialSpeed ()
 
static int pointsToWin ()
 
static bool randomArenaMode ()
 
static QStringList randomArenaModeArenaList ()
 
static int roundTime ()
 
static Settings * self ()
 
static void setArena (const QString &v)
 
static void setBlastTime1 (int v)
 
static void setBlastTime2 (int v)
 
static void setBlastTime3 (int v)
 
static void setBlastTime4 (int v)
 
static void setBlastTime5 (int v)
 
static void setDummy (int v)
 
static void setFirstRun (int v)
 
static void setInitialBombArmory (int v)
 
static void setInitialBombPower (int v)
 
static void setInitialSpeed (int v)
 
static void setPointsToWin (int v)
 
static void setRandomArenaMode (bool v)
 
static void setRandomArenaModeArenaList (const QStringList &v)
 
static void setRoundTime (int v)
 
static void setShowAllTiles (int v)
 
static void setSounds (bool v)
 
static void setTheme (const QString &v)
 
static void setUseWilhelmScream (bool v)
 
static int showAllTiles ()
 
static bool sounds ()
 
static QString theme ()
 
static bool useWilhelmScream ()
 

Protected Member Functions

 Settings ()
 

Protected Attributes

QString mArena
 
int mBlastTime1
 
int mBlastTime2
 
int mBlastTime3
 
int mBlastTime4
 
int mBlastTime5
 
int mDummy
 
int mFirstRun
 
int mInitialBombArmory
 
int mInitialBombPower
 
int mInitialSpeed
 
int mPointsToWin
 
bool mRandomArenaMode
 
QStringList mRandomArenaModeArenaList
 
int mRoundTime
 
int mShowAllTiles
 
bool mSounds
 
QString mTheme
 
bool mUseWilhelmScream
 

Detailed Description

Definition at line 9 of file settings.h.

Constructor & Destructor Documentation

Settings::~Settings ( )

Definition at line 93 of file settings.cpp.

Settings::Settings ( )
protected

Definition at line 27 of file settings.cpp.

Member Function Documentation

static QString Settings::arena ( )
inlinestatic

Get The arena to be used.

Definition at line 68 of file settings.h.

static int Settings::blastTime1 ( )
inlinestatic

Get This is only for the artists to make their life easier.

Definition at line 296 of file settings.h.

static int Settings::blastTime2 ( )
inlinestatic

Get This is only for the artists to make their life easier.

Definition at line 315 of file settings.h.

static int Settings::blastTime3 ( )
inlinestatic

Get This is only for the artists to make their life easier.

Definition at line 334 of file settings.h.

static int Settings::blastTime4 ( )
inlinestatic

Get This is only for the artists to make their life easier.

Definition at line 353 of file settings.h.

static int Settings::blastTime5 ( )
inlinestatic

Get This is only for the artists to make their life easier.

Definition at line 372 of file settings.h.

static int Settings::dummy ( )
inlinestatic

Get This is a dummy setting for player setup.

Definition at line 258 of file settings.h.

static int Settings::firstRun ( )
inlinestatic

Get Check if it is the first run of the game.

Definition at line 30 of file settings.h.

static int Settings::initialBombArmory ( )
inlinestatic

Get The initial bomb armory.

Definition at line 201 of file settings.h.

static int Settings::initialBombPower ( )
inlinestatic

Get The initial bomb power.

Definition at line 182 of file settings.h.

static int Settings::initialSpeed ( )
inlinestatic

Get The initial speed.

Definition at line 163 of file settings.h.

static int Settings::pointsToWin ( )
inlinestatic

Get The points a user needs to win the game.

Definition at line 125 of file settings.h.

static bool Settings::randomArenaMode ( )
inlinestatic

Get Use random arenas.

Definition at line 87 of file settings.h.

static QStringList Settings::randomArenaModeArenaList ( )
inlinestatic

Get List of arenas, used in random mode.

Definition at line 106 of file settings.h.

static int Settings::roundTime ( )
inlinestatic

Get Time for a round.

Definition at line 144 of file settings.h.

Settings * Settings::self ( )
static

Definition at line 17 of file settings.cpp.

static void Settings::setArena ( const QString &  v)
inlinestatic

Set The arena to be used.

Definition at line 58 of file settings.h.

static void Settings::setBlastTime1 ( int  v)
inlinestatic

Set This is only for the artists to make their life easier.

Definition at line 286 of file settings.h.

static void Settings::setBlastTime2 ( int  v)
inlinestatic

Set This is only for the artists to make their life easier.

Definition at line 305 of file settings.h.

static void Settings::setBlastTime3 ( int  v)
inlinestatic

Set This is only for the artists to make their life easier.

Definition at line 324 of file settings.h.

static void Settings::setBlastTime4 ( int  v)
inlinestatic

Set This is only for the artists to make their life easier.

Definition at line 343 of file settings.h.

static void Settings::setBlastTime5 ( int  v)
inlinestatic

Set This is only for the artists to make their life easier.

Definition at line 362 of file settings.h.

static void Settings::setDummy ( int  v)
inlinestatic

Set This is a dummy setting for player setup.

Definition at line 248 of file settings.h.

static void Settings::setFirstRun ( int  v)
inlinestatic

Set Check if it is the first run of the game.

Definition at line 20 of file settings.h.

static void Settings::setInitialBombArmory ( int  v)
inlinestatic

Set The initial bomb armory.

Definition at line 191 of file settings.h.

static void Settings::setInitialBombPower ( int  v)
inlinestatic

Set The initial bomb power.

Definition at line 172 of file settings.h.

static void Settings::setInitialSpeed ( int  v)
inlinestatic

Set The initial speed.

Definition at line 153 of file settings.h.

static void Settings::setPointsToWin ( int  v)
inlinestatic

Set The points a user needs to win the game.

Definition at line 115 of file settings.h.

static void Settings::setRandomArenaMode ( bool  v)
inlinestatic

Set Use random arenas.

Definition at line 77 of file settings.h.

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

Set List of arenas, used in random mode.

Definition at line 96 of file settings.h.

static void Settings::setRoundTime ( int  v)
inlinestatic

Set Time for a round.

Definition at line 134 of file settings.h.

static void Settings::setShowAllTiles ( int  v)
inlinestatic

Set This is only for the artists to make their life easier.

Definition at line 267 of file settings.h.

static void Settings::setSounds ( bool  v)
inlinestatic

Set Whether sound effects should be played.

Definition at line 210 of file settings.h.

static void Settings::setTheme ( const QString &  v)
inlinestatic

Set The graphical theme to be used.

Definition at line 39 of file settings.h.

static void Settings::setUseWilhelmScream ( bool  v)
inlinestatic

Set Whether to use the Wilhelm Scream for dying players.

Definition at line 229 of file settings.h.

static int Settings::showAllTiles ( )
inlinestatic

Get This is only for the artists to make their life easier.

Definition at line 277 of file settings.h.

static bool Settings::sounds ( )
inlinestatic

Get Whether sound effects should be played.

Definition at line 220 of file settings.h.

static QString Settings::theme ( )
inlinestatic

Get The graphical theme to be used.

Definition at line 49 of file settings.h.

static bool Settings::useWilhelmScream ( )
inlinestatic

Get Whether to use the Wilhelm Scream for dying players.

Definition at line 239 of file settings.h.

Member Data Documentation

QString Settings::mArena
protected

Definition at line 385 of file settings.h.

int Settings::mBlastTime1
protected

Definition at line 397 of file settings.h.

int Settings::mBlastTime2
protected

Definition at line 398 of file settings.h.

int Settings::mBlastTime3
protected

Definition at line 399 of file settings.h.

int Settings::mBlastTime4
protected

Definition at line 400 of file settings.h.

int Settings::mBlastTime5
protected

Definition at line 401 of file settings.h.

int Settings::mDummy
protected

Definition at line 395 of file settings.h.

int Settings::mFirstRun
protected

Definition at line 383 of file settings.h.

int Settings::mInitialBombArmory
protected

Definition at line 392 of file settings.h.

int Settings::mInitialBombPower
protected

Definition at line 391 of file settings.h.

int Settings::mInitialSpeed
protected

Definition at line 390 of file settings.h.

int Settings::mPointsToWin
protected

Definition at line 388 of file settings.h.

bool Settings::mRandomArenaMode
protected

Definition at line 386 of file settings.h.

QStringList Settings::mRandomArenaModeArenaList
protected

Definition at line 387 of file settings.h.

int Settings::mRoundTime
protected

Definition at line 389 of file settings.h.

int Settings::mShowAllTiles
protected

Definition at line 396 of file settings.h.

bool Settings::mSounds
protected

Definition at line 393 of file settings.h.

QString Settings::mTheme
protected

Definition at line 384 of file settings.h.

bool Settings::mUseWilhelmScream
protected

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

KDE's Doxygen guidelines are available online.

granatier

Skip menu "granatier"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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