Genesis commit.
Not really, but a lot of renaming.
This commit is contained in:
23
src/spectraluser.h
Normal file
23
src/spectraluser.h
Normal 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
|
||||
Reference in New Issue
Block a user