From: Claudio Cambra Date: Fri, 14 Oct 2022 16:59:08 +0000 (+0200) Subject: Make Systray's void methods slots X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~187^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57f8de9fb6004845c03662ed66ce6c1df874b272;p=nextcloud-desktop.git Make Systray's void methods slots Signed-off-by: Claudio Cambra --- diff --git a/src/gui/systray.h b/src/gui/systray.h index 4da1ecedf..7350011fc 100644 --- a/src/gui/systray.h +++ b/src/gui/systray.h @@ -82,15 +82,6 @@ public: enum class WindowPosition { Default, Center }; Q_ENUM(WindowPosition); - void setTrayEngine(QQmlApplicationEngine *trayEngine); - void create(); - void showMessage(const QString &title, const QString &message, MessageIcon icon = Information); - void showUpdateMessage(const QString &title, const QString &message, const QUrl &webUrl); - void setToolTip(const QString &tip); - void createCallDialog(const Activity &callNotification, const AccountStatePtr accountState); - void createEditFileLocallyLoadingDialog(const QString &fileName); - void destroyEditFileLocallyLoadingDialog(); - Q_REQUIRED_RESULT QString windowTitle() const; Q_REQUIRED_RESULT bool useNormalWindow() const; @@ -113,6 +104,17 @@ signals: void isOpenChanged(); public slots: + void setTrayEngine(QQmlApplicationEngine *trayEngine); + void create(); + + void showMessage(const QString &title, const QString &message, MessageIcon icon = Information); + void showUpdateMessage(const QString &title, const QString &message, const QUrl &webUrl); + void setToolTip(const QString &tip); + + void createCallDialog(const Activity &callNotification, const AccountStatePtr accountState); + void createEditFileLocallyLoadingDialog(const QString &fileName); + void destroyEditFileLocallyLoadingDialog(); + void slotCurrentUserChanged(); void forceWindowInit(QQuickWindow *window) const;