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"
|
2014-03-17 20:56:06 +00:00
|
|
|
#include <retroshare/rstypes.h>
|
2011-12-04 22:03:54 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
*/
|
2015-04-17 21:36:22 +00:00
|
|
|
CreateLobbyDialog(const std::set<RsPeerId>& friends_list, int privacyLevel = 0, QWidget *parent = 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
|