diff options
author | Stephan Beyer <s-beyer@gmx.net> | 2020-06-25 13:46:16 +0300 |
---|---|---|
committer | Kevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com> | 2020-06-26 15:03:26 +0300 |
commit | 20b58219e42593852ac19a5b00d28fd7a68bb3ad (patch) | |
tree | c2e756dd2fe1c856d450c856ea62660fcfffe51a /src/gui/systray.h | |
parent | 080505ef4637faa1a0cc11c75d46af1b9e6270bc (diff) |
Hide Systray's auxiliary positioning methods from public and Qml
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Diffstat (limited to 'src/gui/systray.h')
-rw-r--r-- | src/gui/systray.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/systray.h b/src/gui/systray.h index d2b908252..8f1612a2a 100644 --- a/src/gui/systray.h +++ b/src/gui/systray.h @@ -61,10 +61,6 @@ public: Q_INVOKABLE void setOpened(); Q_INVOKABLE void setClosed(); Q_INVOKABLE void positionWindow(QQuickWindow *window) const; - Q_INVOKABLE QPoint calcTrayIconCenter() const; - Q_INVOKABLE TaskBarPosition taskbarOrientation() const; - Q_INVOKABLE QRect taskbarGeometry() const; - Q_INVOKABLE QPoint computeWindowPosition(int width, int height) const; signals: void currentUserChanged(); @@ -88,6 +84,10 @@ private: QScreen *currentScreen() const; QRect currentScreenRect() const; QPoint computeWindowReferencePoint() const; + QPoint calcTrayIconCenter() const; + TaskBarPosition taskbarOrientation() const; + QRect taskbarGeometry() const; + QPoint computeWindowPosition(int width, int height) const; bool _isOpen = false; bool _syncIsPaused = false; |