Merge pull request #12 from skartashev/master

fix forward declarations (class/struct)
This commit is contained in:
githubuser0xFFFF 2018-12-17 16:21:30 +01:00 committed by GitHub
commit c0d6f959ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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