Make MainWindow::windowGeometry() private

This commit is contained in:
Sergio Martins
2022-06-15 16:09:04 +01:00
parent 0825a6bdc2
commit 38432ccacd
2 changed files with 17 additions and 16 deletions

View File

@@ -213,13 +213,7 @@ public:
/// if all dock widgets were closed (0 or more)
Q_INVOKABLE bool closeDockWidgets(bool force = false);
/// @brief Returns the window geometry
/// This is usually the same as MainWindowBase::geometry()
/// But fixes the following special cases:
/// - QWidgets: Our MainWindow is embedded in another widget
/// - QtQuick: Our MainWindow is QQuickItem
QRect windowGeometry() const;
/// @brief Sets the content's margins
void setContentsMargins(int, int, int, int);
/// @brief Returns the side bar at the specified location