fix forward declarations (class/struct)

This commit is contained in:
Sergey Kartashev 2018-12-17 14:41:43 +03:00
parent b38919e909
commit 8570139cd1
6 changed files with 8 additions and 8 deletions

View File

@ -49,7 +49,7 @@ class CDockAreaTabBar : public QScrollArea
Q_OBJECT Q_OBJECT
private: private:
DockAreaTabBarPrivate* d; ///< private data (pimpl) DockAreaTabBarPrivate* d; ///< private data (pimpl)
friend class DockAreaTabBarPrivate; friend struct DockAreaTabBarPrivate;
friend class CDockAreaTitleBar; friend class CDockAreaTitleBar;
private slots: private slots:

View File

@ -50,7 +50,7 @@ class CDockAreaTitleBar : public QFrame
Q_OBJECT Q_OBJECT
private: private:
DockAreaTitleBarPrivate* d; ///< private data (pimpl) DockAreaTitleBarPrivate* d; ///< private data (pimpl)
friend class DockAreaTitleBarPrivate; friend struct DockAreaTitleBarPrivate;
private slots: private slots:
void markTabsMenuOutdated(); void markTabsMenuOutdated();

View File

@ -43,7 +43,7 @@ namespace ads
struct DockAreaWidgetPrivate; struct DockAreaWidgetPrivate;
class CDockManager; class CDockManager;
class CDockContainerWidget; class CDockContainerWidget;
struct DockContainerWidgetPrivate; class DockContainerWidgetPrivate;
/** /**
@ -58,7 +58,7 @@ private:
DockAreaWidgetPrivate* d; ///< private data (pimpl) DockAreaWidgetPrivate* d; ///< private data (pimpl)
friend struct DockAreaWidgetPrivate; friend struct DockAreaWidgetPrivate;
friend class CDockContainerWidget; friend class CDockContainerWidget;
friend struct DockContainerWidgetPrivate; friend class DockContainerWidgetPrivate;
friend class CDockWidgetTab; friend class CDockWidgetTab;
friend struct DockWidgetPrivate; friend struct DockWidgetPrivate;
friend class CDockWidget; friend class CDockWidget;

View File

@ -57,7 +57,7 @@ class ADS_EXPORT CDockContainerWidget : public QFrame
Q_OBJECT Q_OBJECT
private: private:
DockContainerWidgetPrivate* d; ///< private data (pimpl) DockContainerWidgetPrivate* d; ///< private data (pimpl)
friend struct DockContainerWidgetPrivate; friend class DockContainerWidgetPrivate;
friend class CDockManager; friend class CDockManager;
friend struct DockManagerPrivate; friend struct DockManagerPrivate;
friend class CDockAreaWidget; friend class CDockAreaWidget;

View File

@ -44,7 +44,7 @@ class CDockWidgetTab;
class CDockManager; class CDockManager;
class CDockContainerWidget; class CDockContainerWidget;
class CDockAreaWidget; class CDockAreaWidget;
struct DockContainerWidgetPrivate; class DockContainerWidgetPrivate;
/** /**
* The QDockWidget class provides a widget that can be docked inside a * The QDockWidget class provides a widget that can be docked inside a
@ -69,7 +69,7 @@ protected:
friend class CFloatingDockContainer; friend class CFloatingDockContainer;
friend class CDockManager; friend class CDockManager;
friend struct DockManagerPrivate; friend struct DockManagerPrivate;
friend struct DockContainerWidgetPrivate; friend class DockContainerWidgetPrivate;
friend class CDockAreaTabBar; friend class CDockAreaTabBar;
friend class CDockWidgetTab; friend class CDockWidgetTab;
friend struct DockWidgetTabPrivate; friend struct DockWidgetTabPrivate;

View File

@ -46,7 +46,7 @@ class CElidingLabel : public QLabel
Q_OBJECT Q_OBJECT
private: private:
ElidingLabelPrivate* d; ElidingLabelPrivate* d;
friend class ElidingLabelPrivate; friend struct ElidingLabelPrivate;
protected: protected:
virtual void mouseReleaseEvent(QMouseEvent* event) override; virtual void mouseReleaseEvent(QMouseEvent* event) override;