KGameDialogMsgServerConfig Class Reference
Inheritance diagram for KGameDialogMsgServerConfig:

Public Member Functions | |
KGameDialogMsgServerConfig (QWidget *parent=0) | |
virtual | ~KGameDialogMsgServerConfig () |
virtual void | submitToKGame (KGame *, KPlayer *) |
void | setHasMsgServer (bool) |
virtual void | setKGame (KGame *g) |
virtual void | setAdmin (bool) |
Protected Slots | |
void | slotChangeMaxClients () |
void | slotChangeAdmin () |
void | slotRemoveClient () |
Protected Member Functions | |
void | removeClient (Q_UINT32 id) |
Detailed Description
Definition at line 276 of file kgamedialogconfig.h.
Member Function Documentation
|
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 283 of file kgamedialogconfig.h. |
|
The KGame object of the dialog has been changed. The default implementation changes the pointer for game so don't forget to call the default implementation if you overwrite this! You can use this e.g. to re-read the min/max player settings.
Reimplemented from KGameDialogConfig. Definition at line 407 of file kgamedialogconfig.cpp. References KGameDialogConfig::game(), setAdmin(), setHasMsgServer(), and KGameDialogConfig::setKGame(). |
|
The admin status has been changed. If the KGame object of this config widget is the admin the user is allowed to configure it. Otherwise most widgets will have to be disabled. Note that you don't necessarily need to deactivate all widget - e.g. the player name must be configured by the player. Mainly the KGame configuration can be done by the admin only. By default this does nothing. Changes the value for admin so don't forget to call the default implementation in derived classes!
Reimplemented from KGameDialogConfig. Definition at line 478 of file kgamedialogconfig.cpp. References KGameDialogConfig::admin(), KGameDialogConfig::setAdmin(), slotChangeAdmin(), slotChangeMaxClients(), and slotRemoveClient(). Referenced by setKGame(). |
The documentation for this class was generated from the following files: