kgamedialog.cpp
242 connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(slotRemoveConfigWidget(TQObject*)));
This is not really a configuration widget but rather a simple chat widget.
Definition: kgamedialogconfig.h:315
virtual void setAdmin(bool admin)
The admin status has been changed.
Definition: kgamedialogconfig.cpp:81
virtual void setOwner(KPlayer *p)
The owner player of the dialog has been changed.
Definition: kgamedialogconfig.cpp:76
virtual void setKGame(KGame *g)
The KGame object of the dialog has been changed.
Definition: kgamedialogconfig.cpp:71
void addNetworkConfig(KGameDialogNetworkConfig *netConf)
Used to add the main network config widget in a new page.
Definition: kgamedialog.cpp:151
void addChatWidget(KGameDialogChatConfig *chat, TQVBox *parent=0)
Adds a KGameChat to the dialog.
Definition: kgamedialog.cpp:168
void setKGame(KGame *g)
Change the KGame object this dialog is used for.
Definition: kgamedialog.cpp:298
KGameDialog(KGame *g, KPlayer *owner, const TQString &title, TQWidget *parent, bool modal=false)
Create an empty KGameDialog.
Definition: kgamedialog.cpp:66
virtual void slotDefault()
Sets the default values for the configuration widgets.
Definition: kgamedialog.cpp:267
void addConnectionList(KGameDialogConnectionConfig *c, TQVBox *parent=0)
Add a connection list to the dialog.
Definition: kgamedialog.cpp:183
void setAdmin(bool isAdmin)
Called when the ADMIN status of this KGame client changes.
Definition: kgamedialog.cpp:315
void addGameConfig(KGameDialogGeneralConfig *conf)
Add the main game config widget in a new page.
Definition: kgamedialog.cpp:142
virtual void submitToKGame()
This will submit all configuration data to the KGame object.
Definition: kgamedialog.cpp:325
void addConfigWidget(KGameDialogConfig *widget, TQWidget *parent)
Add a config widget to the specified parent.
Definition: kgamedialog.cpp:229
TQVBox * addConfigPage(KGameDialogConfig *widget, const TQString &title)
Add a new page to the dialog.
Definition: kgamedialog.cpp:218
void addMsgServerConfig(KGameDialogMsgServerConfig *conf)
Used to add the message server config widget in a new page.
Definition: kgamedialog.cpp:160
void initDefaultDialog(ConfigOptions initConfigs, int chatMsgId=15432)
This is used to create a dialog containing all the default widgets.
Definition: kgamedialog.cpp:101
KGameDialogNetworkConfig * networkConfig() const
Definition: kgamedialog.cpp:259
void slotRemoveConfigWidget(TQObject *configWidget)
Remove a config widget from the widget list.
Definition: kgamedialog.cpp:343
bool isAdmin() const
The admin of a game is the one who initializes newly connected clients using negotiateNetworkGame and...
Definition: kgamenetwork.cpp:104