#ifndef DLG_CREATEGAME_H #define DLG_CREATEGAME_H #include #include "client.h" class QLabel; class QLineEdit; class QPushButton; class QCheckBox; class DlgCreateGame : public QDialog { Q_OBJECT public: DlgCreateGame(Client *_client, QWidget *parent = 0); private slots: void actOK(); void checkResponse(ResponseCode response); private: Client *client; QLabel *descriptionLabel, *passwordLabel, *maxPlayersLabel; QLineEdit *descriptionEdit, *passwordEdit, *maxPlayersEdit; QCheckBox *spectatorsAllowedCheckBox; QPushButton *okButton, *cancelButton; }; #endif