kgamedebugdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __KGAMEDEBUGDIALOG_H__
00022 #define __KGAMEDEBUGDIALOG_H__
00023
00024 #include <kdialogbase.h>
00025
00026 class KGame;
00027 class KGameIO;
00028 class KPlayer;
00029 class KGamePropertyBase;
00030
00031 class KGameDebugDialogPrivate;
00032
00033 class KGameDebugDialog : public KDialogBase
00034 {
00035 Q_OBJECT
00036 public:
00037 KGameDebugDialog(KGame* g, QWidget* parent, bool modal = false);
00038 ~KGameDebugDialog();
00039
00046 void setKGame(const KGame* g);
00047
00048 public slots:
00057 void slotUnsetKGame();
00058
00062 void slotUpdateGameData();
00063
00067 void slotUpdatePlayerData();
00068
00073 void slotUpdatePlayerList();
00074
00075 void slotClearMessages();
00076
00077 signals:
00091 void signalRequestIdName(int messageid, bool userid, QString& name);
00092
00093 protected:
00094 void clearPages();
00095
00100 void clearPlayerData();
00101
00105 void clearGameData();
00106
00110 void addPlayer(KPlayer* p);
00111
00115 void removePlayer(QListBoxItem* item);
00116
00120 bool showId(int msgid);
00121
00122 protected slots:
00128 void slotUpdatePlayerData(QListBoxItem* item);
00129
00130 void slotShowId();
00131 void slotHideId();
00132
00136 void slotMessageUpdate(int msgid, Q_UINT32 receiver, Q_UINT32 sender);
00137
00138 private:
00139 void initGamePage();
00140 void initPlayerPage();
00141 void initMessagePage();
00142
00143 private:
00144 KGameDebugDialogPrivate* d;
00145 };
00146
00147
00148 #endif
This file is part of the documentation for libkdegames Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Apr 18 06:22:51 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003