mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-13 21:41:31 -05:00
42 lines
886 B
C
42 lines
886 B
C
![]() |
#ifndef SHAREKEY_H
|
||
|
#define SHAREKEY_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
#include "ui_CreateLobbyDialog.h"
|
||
|
|
||
|
class CreateLobbyDialog : public QDialog {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
/*
|
||
|
*@param chanId The channel id to send request for
|
||
|
*/
|
||
|
CreateLobbyDialog(const std::list<std::string>& friends_list,QWidget *parent = 0, Qt::WFlags flags = 0, std::string grpId = "", int grpType = 0);
|
||
|
~CreateLobbyDialog();
|
||
|
|
||
|
protected:
|
||
|
void changeEvent(QEvent *e);
|
||
|
void closeEvent (QCloseEvent * event);
|
||
|
|
||
|
private:
|
||
|
|
||
|
void setShareList(const std::list<std::string>&);
|
||
|
|
||
|
Ui::CreateLobbyDialog *ui;
|
||
|
|
||
|
std::string mGrpId;
|
||
|
std::list<std::string> mShareList;
|
||
|
int mGrpType;
|
||
|
|
||
|
private slots:
|
||
|
|
||
|
void createLobby();
|
||
|
void checkTextFields();
|
||
|
void cancel();
|
||
|
void togglePersonItem(QTreeWidgetItem* item, int col);
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // SHAREKEY_H
|