diff options
Diffstat (limited to 'examples/widgets/graphicsview/chip/view.h')
-rw-r--r-- | examples/widgets/graphicsview/chip/view.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/widgets/graphicsview/chip/view.h b/examples/widgets/graphicsview/chip/view.h index 5fc9bed630..b6cdc41200 100644 --- a/examples/widgets/graphicsview/chip/view.h +++ b/examples/widgets/graphicsview/chip/view.h @@ -45,9 +45,11 @@ #include <QFrame> #include <QGraphicsView> -QT_FORWARD_DECLARE_CLASS(QLabel) -QT_FORWARD_DECLARE_CLASS(QSlider) -QT_FORWARD_DECLARE_CLASS(QToolButton) +QT_BEGIN_NAMESPACE +class QLabel; +class QSlider; +class QToolButton; +QT_END_NAMESPACE class View; @@ -101,4 +103,4 @@ private: QSlider *rotateSlider; }; -#endif +#endif // VIEW_H |