KGameDialogNetworkConfig Class Reference
Inheritance diagram for KGameDialogNetworkConfig:

Detailed Description
Definition at line 211 of file kgamedialogconfig.h.
Signals | |
void | signalServerTypeChanged (int) |
Public Member Functions | |
KGameDialogNetworkConfig (QWidget *parent=0) | |
virtual | ~KGameDialogNetworkConfig () |
void | disableInitConnection () |
virtual void | submitToKGame (KGame *g, KPlayer *p) |
virtual void | setKGame (KGame *g) |
void | setDefaultNetworkInfo (const QString &host, unsigned short int port, bool server=true) |
void | setDiscoveryInfo (const QString &type, const QString &name=QString::null) |
Protected Slots | |
void | slotInitConnection () |
void | slotExitConnection () |
void | slotConnectionBroken () |
Protected Member Functions | |
void | setConnected (bool connected, bool master=false) |
Member Function Documentation
|
This sets the default port and host used in KGameConnectDialog. The user will be able to change these defaults! If you don't call this then host "localhost" and port "0" is used. You are strongly encouraged to change at least the port!
Definition at line 228 of file kgamedialogconfig.cpp. |
|
Set service type that will be published or browsed for and game name that will be displayed in server browser. Without this publishing and discovery of LAN servers will not be enabled.
Definition at line 243 of file kgamedialogconfig.cpp. |
|
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 218 of file kgamedialogconfig.cpp. |
|
This signal is emmited if the user changes the server type (client/server) in the network configuration dialog.
|
|
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 214 of file kgamedialogconfig.cpp. |
The documentation for this class was generated from the following files: