QtGuiTest: remove Q_NAMESPACE

There are no Q_ENUM/Q_FLAG/Q_INVOKABLEs defined in it, so drop
Q_NAMESPACE. We can always add it back in when something is added to
it that does require a meta object.

Found in API-review.

Amends 5ac4f04325a56d47812f528fe31ceb0d4932f664.

Change-Id: I8b197f2cd835d1fe4893f2e9608dcaf0ffd14cd9
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 530b2e1fc7d289c12507696137996a02bdbeb439)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2025-01-30 11:56:57 +01:00 committed by Qt Cherry-pick Bot
parent 9120bb9e03
commit a546662cd8

View File

@ -73,8 +73,6 @@ protected:
#if QT_CONFIG(test_gui)
namespace QtGuiTest
{
Q_NAMESPACE_EXPORT(Q_GUI_EXPORT)
Q_GUI_EXPORT void setKeyboardModifiers(Qt::KeyboardModifiers modifiers);
Q_GUI_EXPORT void setCursorPosition(const QPoint &position);
Q_GUI_EXPORT void synthesizeExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers,