blob: 98e64b74f78b1ac062cdf463bef86950667482af (
plain) (
blame)
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
|
#pragma once
#include <QObject>
#include <QString>
#include "CacheStructs.h"
class RoomSettings : public QObject
{
Q_OBJECT
Q_PROPERTY(QString roomName READ roomName CONSTANT)
public:
RoomSettings(QString roomid, QObject *parent = nullptr);
QString roomName() const;
private:
void retrieveRoomInfo();
private:
QString roomid_;
bool usesEncryption_ = false;
RoomInfo info_;
};
|