summary refs log tree commit diff
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-20 12:02:35 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-20 12:02:35 +0300
commitd7e5171bfabf48e69112190b7096268222979c1c (patch)
tree89e09ff0189dbd87f7f203da0a53a52ccbb7fa2a /src/MainWindow.h
parentAdd user avatar after the 'encryption is enabled' message (diff)
downloadnheko-d7e5171bfabf48e69112190b7096268222979c1c.tar.xz
Create user profile modal
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 92040191..3d9a94d3 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -28,6 +28,7 @@
 #include "RegisterPage.h"
 #include "UserSettingsPage.h"
 #include "WelcomePage.h"
+#include "dialogs/UserProfile.h"
 
 class ChatPage;
 class LoadingIndicator;
@@ -71,6 +72,7 @@ public:
         void openLogoutDialog(std::function<void()> callback);
         void openRoomSettings(const QString &room_id = "");
         void openMemberListDialog(const QString &room_id = "");
+        void openUserProfile(const QString &user_id, const QString &room_id);
 
 protected:
         void closeEvent(QCloseEvent *event) override;
@@ -171,4 +173,7 @@ private:
         QSharedPointer<OverlayModal> memberListModal_;
         //! Member list dialog.
         QSharedPointer<dialogs::MemberList> memberListDialog_;
+
+        QSharedPointer<OverlayModal> userProfileModal_;
+        QSharedPointer<dialogs::UserProfile> userProfileDialog_;
 };