2012-01-17 20:36:36 +00:00
|
|
|
#ifndef CREATELOBBYDIALOG_H
|
|
|
|
#define CREATELOBBYDIALOG_H
|
2011-12-04 22:03:54 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include "ui_CreateLobbyDialog.h"
|
|
|
|
|
|
|
|
class CreateLobbyDialog : public QDialog {
|
2012-01-17 20:36:36 +00:00
|
|
|
Q_OBJECT
|
2012-01-30 23:20:42 +00:00
|
|
|
|
2011-12-04 22:03:54 +00:00
|
|
|
public:
|
2012-01-17 20:36:36 +00:00
|
|
|
/*
|
|
|
|
*@param chanId The channel id to send request for
|
|
|
|
*/
|
2012-01-30 23:20:42 +00:00
|
|
|
CreateLobbyDialog(const std::list<std::string>& friends_list, int privacyLevel = 0, QWidget *parent = 0, Qt::WFlags flags = 0);
|
2012-01-17 20:36:36 +00:00
|
|
|
~CreateLobbyDialog();
|
2011-12-04 22:03:54 +00:00
|
|
|
|
|
|
|
protected:
|
2012-01-17 20:36:36 +00:00
|
|
|
void changeEvent(QEvent *e);
|
2011-12-04 22:03:54 +00:00
|
|
|
|
|
|
|
private:
|
2012-01-17 20:36:36 +00:00
|
|
|
Ui::CreateLobbyDialog *ui;
|
2011-12-04 22:03:54 +00:00
|
|
|
|
|
|
|
private slots:
|
2012-01-17 20:36:36 +00:00
|
|
|
void createLobby();
|
|
|
|
void checkTextFields();
|
2011-12-04 22:03:54 +00:00
|
|
|
};
|
|
|
|
|
2012-01-17 20:36:36 +00:00
|
|
|
#endif // CREATELOBBYDIALOG_H
|