initial commit

This commit is contained in:
Max-Wilhelm Bruker 2009-03-13 22:50:41 +01:00
commit a11f93df4d
99 changed files with 7493 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#ifndef DLG_GAMES_H
#define DLG_GAMES_H
#include <QDialog>
#include "gamesmodel.h"
#include "servergame.h"
#include "client.h"
class QPushButton;
class QTreeView;
class DlgGames : public QDialog {
Q_OBJECT
public:
DlgGames(Client *_client, QWidget *parent = 0);
private slots:
void actCreate();
void actRefresh();
void actJoin();
void gameListReceived(QList<ServerGame *> _gameList);
void checkResponse(ServerResponse *response);
private:
Client *client;
int msgid;
QTreeView *tableView;
GamesModel *tableModel;
QPushButton *refreshButton, *createButton, *joinButton;
};
#endif