KGameDebugDialog Class Reference
List of all members.Detailed Description
Definition at line 34 of file kgamedebugdialog.h.
Public Slots | |
void | slotUnsetKGame () |
void | slotUpdateGameData () |
void | slotUpdatePlayerData () |
void | slotUpdatePlayerList () |
void | slotClearMessages () |
Signals | |
void | signalRequestIdName (int messageid, bool userid, QString &name) |
Public Member Functions | |
KGameDebugDialog (KGame *g, QWidget *parent, bool modal=false) | |
~KGameDebugDialog () | |
void | setKGame (const KGame *g) |
Protected Slots | |
void | slotUpdatePlayerData (QListBoxItem *item) |
void | slotShowId () |
void | slotHideId () |
void | slotMessageUpdate (int msgid, Q_UINT32 receiver, Q_UINT32 sender) |
Protected Member Functions | |
void | clearPages () |
void | clearPlayerData () |
void | clearGameData () |
void | addPlayer (KPlayer *p) |
void | removePlayer (QListBoxItem *item) |
bool | showId (int msgid) |
Member Function Documentation
|
Add a new player to the player list.
Definition at line 457 of file kgamedebugdialog.cpp. |
|
Clear the data view of the KGame object.
Definition at line 269 of file kgamedebugdialog.cpp. |
|
Clear the data of the player view. Note that the player list is NOT cleared. Definition at line 251 of file kgamedebugdialog.cpp. |
|
Remove a player from the list.
Definition at line 468 of file kgamedebugdialog.cpp. |
|
Automatically connects the KGame object to all error dependant slots. Create a KGameErrorDialog object, call this function and forget everything.
Definition at line 428 of file kgamedebugdialog.cpp. |
|
Definition at line 536 of file kgamedebugdialog.cpp. |
|
This signal is emitted when the "debug messages" page couldn't find the name of a message id. This is usually the case for user-defined messages. KGameDebugDialog asks you to give the msgid a name.
|
|
A message has been received - see KGame::signalMessageUpdate.
Definition at line 484 of file kgamedebugdialog.cpp. |
|
Unsets a KGame which has been set using setKGame before. This is called automatically when the KGame object is destroyed and you normally don't have to call this yourself. Note that setKGame also unsets an already existing KGame object if exising. Definition at line 448 of file kgamedebugdialog.cpp. |
|
Update the data of the KGame object.
Definition at line 306 of file kgamedebugdialog.cpp. |
|
Update the data of the player specified in item.
Definition at line 359 of file kgamedebugdialog.cpp. |
|
Update the properties of the currently selected player.
Definition at line 285 of file kgamedebugdialog.cpp. |
|
Updates the list of players and calls clearPlayerData. Note that after this call NO player is selected anymore. Definition at line 293 of file kgamedebugdialog.cpp. |
The documentation for this class was generated from the following files: