-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathListOfChannels.h
42 lines (33 loc) · 936 Bytes
/
ListOfChannels.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef LISTOFCHANNELS_H
#define LISTOFCHANNELS_H
#include <QDialog>
#include <QTableWidgetItem>
#include <QShowEvent>
#include "ChatClient.h"
#include "createchanneldialog.h"
namespace Ui {
class ListOfChannels;
}
class ListOfChannels : public QDialog
{
Q_OBJECT
public:
explicit ListOfChannels(QWidget *parent = 0);
~ListOfChannels();
private:
Ui::ListOfChannels *ui;
CreateChannelDialog m_dialog;
protected:
virtual void showEvent(QShowEvent *event);
signals:
void requestJoinChannel(QString);
void requestCreateChannel(QString, QString, QString);
public slots:
void setAllChannelsList(QMap<QString, QString> list);
void getChannelJoinResult(QString channelName, bool result);
void getChannelCreateResult(QString str);
void replyCreateSignal(QString name, QString topic, QString description);
private slots:
void on_joinButton_clicked();
};
#endif // LISTOFCHANNELS_H