|
|
@ -48,6 +48,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
// Initialize all the components of the UI.
|
|
|
|
// Initialize all the components of the UI.
|
|
|
|
void bootstrap(QString userid, QString homeserver, QString token); |
|
|
|
void bootstrap(QString userid, QString homeserver, QString token); |
|
|
|
|
|
|
|
void showQuickSwitcher(); |
|
|
|
|
|
|
|
|
|
|
|
signals: |
|
|
|
signals: |
|
|
|
void contentLoaded(); |
|
|
|
void contentLoaded(); |
|
|
@ -69,14 +70,10 @@ private slots: |
|
|
|
void addRoom(const QString &room_id); |
|
|
|
void addRoom(const QString &room_id); |
|
|
|
void removeRoom(const QString &room_id); |
|
|
|
void removeRoom(const QString &room_id); |
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
void keyPressEvent(QKeyEvent *event) override; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
void updateTypingUsers(const QString &roomid, const QList<QString> &user_ids); |
|
|
|
void updateTypingUsers(const QString &roomid, const QList<QString> &user_ids); |
|
|
|
void updateDisplayNames(const RoomState &state); |
|
|
|
void updateDisplayNames(const RoomState &state); |
|
|
|
void loadStateFromCache(); |
|
|
|
void loadStateFromCache(); |
|
|
|
void showQuickSwitcher(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QHBoxLayout *topLayout_; |
|
|
|
QHBoxLayout *topLayout_; |
|
|
|
Splitter *splitter; |
|
|
|
Splitter *splitter; |
|
|
|