From cec2d7602709dae40a172b4adcf1c76bcf258f9c Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Fri, 17 Mar 2023 12:06:19 +0100 Subject: Minor. Fix namespace issues of inputmethods manul test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pick-to: 6.5 Change-Id: Ic0f318aa63cab901b979d76a34e329b2ab8359cf Reviewed-by: Michael BrĂ¼ning --- tests/manual/widgets/inputmethods/colorpicker.h | 2 ++ tests/manual/widgets/inputmethods/controlview.h | 5 ++++- tests/manual/widgets/inputmethods/testview.h | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/manual/widgets/inputmethods/colorpicker.h b/tests/manual/widgets/inputmethods/colorpicker.h index 171c0186b..0b6b3257a 100644 --- a/tests/manual/widgets/inputmethods/colorpicker.h +++ b/tests/manual/widgets/inputmethods/colorpicker.h @@ -7,8 +7,10 @@ #include #include +QT_BEGIN_NAMESPACE class QLineEdit; class QPushButton; +QT_END_NAMESPACE class ColorPicker : public QWidget { diff --git a/tests/manual/widgets/inputmethods/controlview.h b/tests/manual/widgets/inputmethods/controlview.h index f6b3e7fe6..caa08593f 100644 --- a/tests/manual/widgets/inputmethods/controlview.h +++ b/tests/manual/widgets/inputmethods/controlview.h @@ -8,12 +8,15 @@ #include #include -class ColorPicker; +QT_BEGIN_NAMESPACE class QComboBox; class QLabel; class QLineEdit; class QPushButton; class QSpinBox; +QT_END_NAMESPACE + +class ColorPicker; class ControlView : public QWidget { diff --git a/tests/manual/widgets/inputmethods/testview.h b/tests/manual/widgets/inputmethods/testview.h index feb512cde..b99e60d75 100644 --- a/tests/manual/widgets/inputmethods/testview.h +++ b/tests/manual/widgets/inputmethods/testview.h @@ -7,8 +7,10 @@ #include #include +QT_BEGIN_NAMESPACE class QPushButton; class QTableView; +QT_END_NAMESPACE class TestView : public QWidget { -- cgit v1.2.1