summary refs log tree commit diff
path: root/src/ui/NhekoGlobalObject.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-10-09 20:57:38 +0000
committerGitHub <noreply@github.com>2021-10-09 20:57:38 +0000
commit7eb9071b50e540fdcde4d132bdf76825da4518e4 (patch)
tree4736f7d46480146f5ddb41bd1cc598aaca05534f /src/ui/NhekoGlobalObject.h
parentMerge pull request #752 from Thulinma/devicelistEdits (diff)
parentmake lint (diff)
downloadnheko-7eb9071b50e540fdcde4d132bdf76825da4518e4.tar.xz
Merge pull request #743 from LorenDB/qmlLogout
QML the logout dialog
Diffstat (limited to 'src/ui/NhekoGlobalObject.h')
-rw-r--r--src/ui/NhekoGlobalObject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/NhekoGlobalObject.h b/src/ui/NhekoGlobalObject.h

index aa8435d1..64aad941 100644 --- a/src/ui/NhekoGlobalObject.h +++ b/src/ui/NhekoGlobalObject.h
@@ -48,7 +48,7 @@ public: Q_INVOKABLE void openLink(QString link) const; Q_INVOKABLE void setStatusMessage(QString msg) const; Q_INVOKABLE void showUserSettingsPage() const; - Q_INVOKABLE void openLogoutDialog() const; + Q_INVOKABLE void logout() const; Q_INVOKABLE void openCreateRoomDialog() const; Q_INVOKABLE void openJoinRoomDialog() const; Q_INVOKABLE void reparent(QWindow *win) const; @@ -60,6 +60,8 @@ signals: void colorsChanged(); void profileChanged(); + void openLogoutDialog(); + private: QScopedPointer<UserProfile> currentUser_; };