summaryrefslogtreecommitdiff
path: root/examples/network/secureudpserver/mainwindow.h
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-12-20 14:14:21 +0100
committerKai Köhne <kai.koehne@qt.io>2023-01-02 23:16:30 +0100
commit25c67c608a7a6e8673eee27a105b11d723f9a9b1 (patch)
tree932756941e10fe0c6baf681244dd9506355ad31c /examples/network/secureudpserver/mainwindow.h
parent947dd880cc2c1fc7973c0439ff8393e0f63f96a0 (diff)
downloadqtbase-25c67c608a7a6e8673eee27a105b11d723f9a9b1.tar.gz
Examples: Do not wrap custom types in Qt namespace
The Qt namespace should be used for types defined in the Qt library, not for user types. Pick-to: 6.5 Change-Id: I6df0ca054888f4a65b19a9cb44324321d1dcfad8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/network/secureudpserver/mainwindow.h')
-rw-r--r--examples/network/secureudpserver/mainwindow.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/network/secureudpserver/mainwindow.h b/examples/network/secureudpserver/mainwindow.h
index 77cba00b5e..7c69a9b414 100644
--- a/examples/network/secureudpserver/mainwindow.h
+++ b/examples/network/secureudpserver/mainwindow.h
@@ -8,15 +8,11 @@
#include <QMainWindow>
QT_BEGIN_NAMESPACE
-
namespace Ui {
class MainWindow;
}
-
QT_END_NAMESPACE
-QT_USE_NAMESPACE
-
class MainWindow : public QMainWindow
{
Q_OBJECT