KGameDialogGeneralConfig Class Reference
Inheritance diagram for KGameDialogGeneralConfig:

Detailed Description
Definition at line 144 of file kgamedialogconfig.h.
Public Member Functions | |
KGameDialogGeneralConfig (QWidget *parent=0, bool initializeGUI=true) | |
virtual | ~KGameDialogGeneralConfig () |
virtual void | submitToKGame (KGame *g, KPlayer *p) |
virtual void | setOwner (KPlayer *p) |
virtual void | setKGame (KGame *g) |
virtual void | setAdmin (bool admin) |
Protected Slots | |
void | slotPropertyChanged (KGamePropertyBase *, KPlayer *) |
Protected Member Functions | |
void | setPlayerName (const QString &name) |
QString | playerName () const |
Constructor & Destructor Documentation
|
Construct a KGameDialogGeneralConfig. Currently it contains a line edit widget to change the player name only. If you just want to add more widgets you can just create your widgets with the KGameDialogGeneralConfig as parent as it uses QLayout::setAutoAdd(true).
Definition at line 264 of file kgamedialogconfig.cpp. |
Member Function Documentation
|
See KGameDialogConfig::setAdmin. This deactivates the min/max player widgets Reimplemented from KGameDialogConfig. Definition at line 329 of file kgamedialogconfig.cpp. |
|
See KGameDialogConfig::setKGame. Sets the default values of all KGame related predefined widgets (currently none) Reimplemented from KGameDialogConfig. Definition at line 318 of file kgamedialogconfig.cpp. |
|
Change the owner of the config widget. Changes the playername in the line edit
Reimplemented from KGameDialogConfig. Definition at line 301 of file kgamedialogconfig.cpp. |
|
Called by KGameDialog to submit all settings to the KGame Object. You have to replace this if you add your own widgets!
Implements KGameDialogConfig. Definition at line 336 of file kgamedialogconfig.cpp. |
The documentation for this class was generated from the following files: