diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-05-16 10:44:34 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-06-01 09:09:49 +0200 |
commit | da4de6b6e361879993f834ed4c157d5bdba2c050 (patch) | |
tree | cb45136d2de1607cbebc3f52779accbd31946a66 /examples/vulkan/hellovulkancubes | |
parent | 3c6c3eccd1f91bd1ae0a518318ef264f8eff63f5 (diff) |
Polish forward decl in vulkan and opengl examples
Pick-to: 6.5
Change-Id: I9f05aedc7649ab7e248b7332c04a6664e85182d8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples/vulkan/hellovulkancubes')
-rw-r--r-- | examples/vulkan/hellovulkancubes/mainwindow.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/vulkan/hellovulkancubes/mainwindow.h b/examples/vulkan/hellovulkancubes/mainwindow.h index 2e931c1a52..8ecb0002e7 100644 --- a/examples/vulkan/hellovulkancubes/mainwindow.h +++ b/examples/vulkan/hellovulkancubes/mainwindow.h @@ -6,12 +6,10 @@ #include <QWidget> -QT_BEGIN_NAMESPACE -class QLCDNumber; -class QLabel; -class QPushButton; -class QCheckBox; -QT_END_NAMESPACE +QT_FORWARD_DECLARE_CLASS(QLCDNumber) +QT_FORWARD_DECLARE_CLASS(QLabel) +QT_FORWARD_DECLARE_CLASS(QPushButton) +QT_FORWARD_DECLARE_CLASS(QCheckBox) class VulkanWindow; |