summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkancubes/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkancubes/mainwindow.h')
-rw-r--r--examples/vulkan/hellovulkancubes/mainwindow.h10
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;