mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
added chat lobby creation window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-ChatLobby@4709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a0e3522273
commit
71a079b55f
10 changed files with 552 additions and 12 deletions
41
retroshare-gui/src/gui/chat/CreateLobbyDialog.h
Normal file
41
retroshare-gui/src/gui/chat/CreateLobbyDialog.h
Normal file
|
@ -0,0 +1,41 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue