mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Hide Systray's auxiliary positioning methods from public and Qml
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
This commit is contained in:
parent
080505ef46
commit
20b58219e4
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue