#include <kgameconnectdialog.h>
Collaboration diagram for KGameConnectDialog:

Signals | |
| void | signalNetworkSetup () |
Public Member Functions | |
| KGameConnectDialog (QWidget *parent=0, int buttonmask=Ok|Cancel) | |
| virtual | ~KGameConnectDialog () |
| void | setHost (const QString &host) |
| QString | host () const |
| void | setPort (unsigned short int port) |
| unsigned short int | port () const |
| void | setDefault (int state) |
| Specifies which state is the default (0 = server game; 1 = join game). | |
Static Public Member Functions | |
| static int | initConnection (unsigned short int &port, QString &host, QWidget *parent, bool server=false) |
| Shows a dialog to either connect to an existing game or to create a server game, depending on user's choice. | |
This Dialog is used to create a game. You call initConnection(port, QString::null, parent, true) to create a network game (as a server) or initConnection(port, host, parent) to join a network game.
Definition at line 116 of file kgameconnectdialog.h.
|
||||||||||||
|
Definition at line 216 of file kgameconnectdialog.cpp. References KGameConnectDialogPrivate::mConnect. |
|
|
Definition at line 225 of file kgameconnectdialog.cpp. |
|
|
Definition at line 250 of file kgameconnectdialog.cpp. References KGameConnectWidget::host(), and KGameConnectDialogPrivate::mConnect. Referenced by initConnection(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Shows a dialog to either connect to an existing game or to create a server game, depending on user's choice.
Definition at line 230 of file kgameconnectdialog.cpp. References host(), port(), setDefault(), setHost(), and setPort(). Here is the call graph for this function: ![]() |
|
|
Definition at line 255 of file kgameconnectdialog.cpp. References KGameConnectDialogPrivate::mConnect, and KGameConnectWidget::port(). Referenced by initConnection(). Here is the call graph for this function: ![]() |
|
|
Specifies which state is the default (0 = server game; 1 = join game).
Definition at line 270 of file kgameconnectdialog.cpp. References KGameConnectDialogPrivate::mConnect, and KGameConnectWidget::setDefault(). Referenced by initConnection(). Here is the call graph for this function: ![]() |
|
|
Definition at line 260 of file kgameconnectdialog.cpp. References KGameConnectDialogPrivate::mConnect, and KGameConnectWidget::setHost(). Referenced by initConnection(). Here is the call graph for this function: ![]() |
|
|
Definition at line 265 of file kgameconnectdialog.cpp. References KGameConnectDialogPrivate::mConnect, and KGameConnectWidget::setPort(). Referenced by initConnection(). Here is the call graph for this function: ![]() |
|
|
|
1.4.6