Working notification.

Also, fixes #6.
This commit is contained in:
Black Hat
2018-08-19 14:32:18 +08:00
parent aa8f50a6c2
commit 4383dfa5a1
9 changed files with 45 additions and 51 deletions

View File

@@ -2,8 +2,9 @@
#define ROOMLISTMODEL_H
#include "connection.h"
#include "room.h"
#include "events/roomevent.h"
#include "matriqueroom.h"
#include "room.h"
#include <QtCore/QAbstractListModel>
@@ -69,7 +70,7 @@ class RoomListModel : public QAbstractListModel {
signals:
void connectionChanged();
void roomAdded(MatriqueRoom* room);
void newMessage(MatriqueRoom* room);
void newMessage(const QString& roomName, const QString& content, const QIcon& icon);
};
#endif // ROOMLISTMODEL_H