Cockatrice/cockatrice/src/dlg_creategame.h
Max-Wilhelm Bruker 99ff7fd15f minor improvements
2009-04-14 19:18:46 +02:00

28 lines
544 B
C++

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