#include <prefs.h>
Collaboration diagram for Prefs:

Public Member Functions | |
| ~Prefs () | |
Static Public Member Functions | |
| static Prefs * | self () |
| static int | port () |
| Get Network connection port. | |
| static QString | gamename () |
| Get Game name. | |
| static QString | host () |
| Get Network connection host. | |
| static int | level () |
| Get Change the strength of the computer player. | |
| static QString | name1 () |
| Get Player 1 name. | |
| static QString | name2 () |
| Get Player 2 name. | |
| static int | input1 () |
| Get Input1. | |
| static int | input2 () |
| Get Input2. | |
| static int | colour1 () |
| Get Colour1. | |
| static void | writeConfig () |
Protected Member Functions | |
| Prefs () | |
Protected Attributes | |
| int | mPort |
| QString | mGamename |
| QString | mHost |
| int | mLevel |
| QString | mName1 |
| QString | mName2 |
| int | mInput1 |
| int | mInput2 |
| int | mColour1 |
Static Protected Attributes | |
| static Prefs * | mSelf = 0 |
Definition at line 9 of file prefs.h.
|
|
Definition at line 58 of file prefs.cpp. References mSelf. |
|
|
Definition at line 21 of file prefs.cpp. References mColour1, mGamename, mHost, mInput1, mInput2, mLevel, mName1, mName2, mPort, and mSelf. Referenced by self(). |
|
|
Get Colour1.
Definition at line 101 of file prefs.h. References mColour1. Referenced by KWin4Doc::loadSettings(). |
|
|
Get Game name.
Definition at line 31 of file prefs.h. References mGamename. |
|
|
Get Network connection host.
Definition at line 41 of file prefs.h. References mHost. |
|
|
Get Input1.
Definition at line 81 of file prefs.h. References mInput1. Referenced by KWin4Doc::loadSettings(). |
|
|
Get Input2.
Definition at line 91 of file prefs.h. References mInput2. Referenced by KWin4Doc::loadSettings(). |
|
|
Get Change the strength of the computer player.
Definition at line 51 of file prefs.h. References mLevel. Referenced by KWin4Doc::loadSettings(), and KWin4Doc::prepareGameMessage(). |
|
|
Get Player 1 name.
Definition at line 61 of file prefs.h. References mName1. Referenced by KWin4Doc::initPlayers(), and KWin4Doc::loadSettings(). |
|
|
Get Player 2 name.
Definition at line 71 of file prefs.h. References mName2. Referenced by KWin4Doc::loadSettings(). |
|
|
Get Network connection port.
Definition at line 21 of file prefs.h. References mPort. |
|
|
Definition at line 11 of file prefs.cpp. References mSelf, and Prefs(). Referenced by KWin4App::configureSettings(). Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
Definition at line 118 of file prefs.h. Referenced by gamename(), and Prefs(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6