#include <config_two.h>
Signals | |
| void | signalInputType (int no, InputDeviceType type) |
| Signal emitted when input type changes. | |
Public Member Functions | |
| ConfigTwo (QObject *parent) | |
| Constructor for the config. | |
| virtual | ~ConfigTwo () |
| Destructor. | |
| void | reset () |
| Reset the config data. | |
| QHashIterator< int, Player * > | playerIterator () |
| Retrieve hash iterator over players. | |
| Player * | player (int no) |
| Retrieve a player. | |
| InputDeviceType | inputType (int no) |
| Retrieve input type of given player. | |
| void | setInputType (int no, InputDeviceType type) |
| Set the input type for a given players. | |
| void | save (KConfig *cfg) |
| Saves the properties. | |
| void | load (KConfig *cfg) |
| Read properties. | |
Definition at line 41 of file config_two.h.
|
|
Constructor for the config.
Definition at line 32 of file config_two.cpp. |
|
|
Destructor.
Definition at line 55 of file config_two.cpp. References player(). Here is the call graph for this function: ![]() |
|
|
Retrieve input type of given player.
Definition at line 129 of file config_two.cpp. Referenced by Mainwindow::menuNewLSkatGame(). |
|
|
Read properties.
Definition at line 89 of file config_two.cpp. References Player::load(), player(), playerIterator(), reset(), and setInputType(). Referenced by Mainwindow::readProperties(). Here is the call graph for this function: ![]() |
|
|
Retrieve a player.
Definition at line 113 of file config_two.cpp. Referenced by load(), Mainwindow::menuNewLSkatGame(), Mainwindow::menuPlayerNames(), save(), Mainwindow::setInputType(), and ~ConfigTwo(). |
|
|
Retrieve hash iterator over players.
Definition at line 121 of file config_two.cpp. Referenced by load(), Mainwindow::menuClearStatistics(), save(), and Mainwindow::startGame(). |
|
|
Reset the config data.
Definition at line 43 of file config_two.cpp. References setInputType(), InputDevice::TypeAiInput, and InputDevice::TypeMouseInput. Referenced by load(), and Mainwindow::Mainwindow(). Here is the call graph for this function: ![]() |
|
|
Saves the properties.
Definition at line 69 of file config_two.cpp. References player(), playerIterator(), and Player::save(). Referenced by Mainwindow::saveProperties(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Set the input type for a given players.
Definition at line 136 of file config_two.cpp. References signalInputType(). Referenced by load(), Mainwindow::menuPlayer1By(), Mainwindow::menuPlayer2By(), and reset(). |
|
||||||||||||
|
Signal emitted when input type changes.
Referenced by setInputType(). |
1.4.6