Genesis commit.

Not really, but a lot of renaming.
This commit is contained in:
Black Hat
2018-09-17 21:01:02 +08:00
parent 317a6d6ec8
commit 81a7172f29
31 changed files with 145 additions and 153 deletions

23
src/spectraluser.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef SpectralUser_H
#define SpectralUser_H
#include "user.h"
#include "room.h"
#include <QObject>
using namespace QMatrixClient;
class SpectralUser : public User {
Q_OBJECT
Q_PROPERTY(QImage avatar READ getAvatar NOTIFY inheritedAvatarChanged)
public:
SpectralUser(QString userId, Connection* connection);
QImage getAvatar() { return avatar(128); }
signals:
void inheritedAvatarChanged(User* user, const Room* roomContext); // https://bugreports.qt.io/browse/QTBUG-7684
};
#endif // SpectralUser_H