forked from qt-creator/qt-creator
ADS: Remove struct from DockManager
We do not use struct in Qt Creator. Change-Id: I7755d66bc7b77825ab17ed333b23cbe36e52ff72 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
2642f8537d
commit
95182dc6b9
@@ -69,7 +69,7 @@ private:
|
||||
friend class DockWidgetTab;
|
||||
friend class DockWidgetPrivate;
|
||||
friend class DockWidget;
|
||||
friend struct DockManagerPrivate;
|
||||
friend class DockManagerPrivate;
|
||||
friend class DockManager;
|
||||
|
||||
void onTabCloseRequested(int index);
|
||||
|
@@ -50,7 +50,7 @@ class DockContainerWidgetPrivate;
|
||||
class DockAreaWidget;
|
||||
class DockWidget;
|
||||
class DockManager;
|
||||
struct DockManagerPrivate;
|
||||
class DockManagerPrivate;
|
||||
class FloatingDockContainer;
|
||||
class FloatingDockContainerPrivate;
|
||||
class FloatingDragPreview;
|
||||
@@ -71,7 +71,7 @@ private:
|
||||
DockContainerWidgetPrivate *d; ///< private data (pimpl)
|
||||
friend class DockContainerWidgetPrivate;
|
||||
friend class DockManager;
|
||||
friend struct DockManagerPrivate;
|
||||
friend class DockManagerPrivate;
|
||||
friend class DockAreaWidget;
|
||||
friend struct DockAreaWidgetPrivate;
|
||||
friend class FloatingDockContainer;
|
||||
|
@@ -77,8 +77,9 @@ namespace ADS
|
||||
/**
|
||||
* Private data class of DockManager class (pimpl)
|
||||
*/
|
||||
struct DockManagerPrivate
|
||||
class DockManagerPrivate
|
||||
{
|
||||
public:
|
||||
DockManager *q;
|
||||
QList<FloatingDockContainer *> m_floatingWidgets;
|
||||
QList<DockContainerWidget *> m_containers;
|
||||
@@ -144,8 +145,7 @@ namespace ADS
|
||||
bool restoreContainer(int index, DockingStateReader &stream, bool testing);
|
||||
|
||||
void workspaceLoadingProgress();
|
||||
};
|
||||
// struct DockManagerPrivate
|
||||
}; // class DockManagerPrivate
|
||||
|
||||
DockManagerPrivate::DockManagerPrivate(DockManager *parent)
|
||||
: q(parent)
|
||||
|
@@ -66,7 +66,7 @@ const char STARTUP_WORKSPACE_SETTINGS_KEY[] = "QML/Designer/StartupWorkspace";
|
||||
const char AUTO_RESTORE_WORKSPACE_SETTINGS_KEY[] = "QML/Designer/AutoRestoreLastWorkspace";
|
||||
} // namespace Constants
|
||||
|
||||
struct DockManagerPrivate;
|
||||
class DockManagerPrivate;
|
||||
class FloatingDockContainer;
|
||||
class FloatingDockContainerPrivate;
|
||||
class DockComponentsFactory;
|
||||
@@ -96,7 +96,7 @@ class ADS_EXPORT DockManager : public DockContainerWidget
|
||||
Q_OBJECT
|
||||
private:
|
||||
DockManagerPrivate *d; ///< private data (pimpl)
|
||||
friend struct DockManagerPrivate;
|
||||
friend class DockManagerPrivate;
|
||||
friend class FloatingDockContainer;
|
||||
friend class FloatingDockContainerPrivate;
|
||||
friend class DockContainerWidget;
|
||||
|
@@ -75,7 +75,7 @@ protected:
|
||||
friend class DockAreaWidget;
|
||||
friend class FloatingDockContainer;
|
||||
friend class DockManager;
|
||||
friend struct DockManagerPrivate;
|
||||
friend class DockManagerPrivate;
|
||||
friend class DockContainerWidgetPrivate;
|
||||
friend class DockAreaTabBar;
|
||||
friend class DockWidgetTab;
|
||||
|
@@ -50,7 +50,7 @@ namespace ADS {
|
||||
|
||||
class FloatingDockContainerPrivate;
|
||||
class DockManager;
|
||||
struct DockManagerPrivate;
|
||||
class DockManagerPrivate;
|
||||
class DockAreaWidget;
|
||||
class DockContainerWidget;
|
||||
class DockWidget;
|
||||
@@ -113,7 +113,7 @@ private:
|
||||
FloatingDockContainerPrivate *d; ///< private data (pimpl)
|
||||
friend class FloatingDockContainerPrivate;
|
||||
friend class DockManager;
|
||||
friend struct DockManagerPrivate;
|
||||
friend class DockManagerPrivate;
|
||||
friend class DockAreaTabBar;
|
||||
friend struct DockWidgetTabPrivate;
|
||||
friend class DockWidgetTab;
|
||||
|
Reference in New Issue
Block a user