summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btchat/chat.cpp
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2024-01-05 08:12:46 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-01-10 13:15:19 +0000
commitcc5b7328887e09de782a714fc344c62f503df52b (patch)
treeea35ca8e5f9f0d69426cba8ff5406969c1031a50 /examples/bluetooth/btchat/chat.cpp
parent4cef1dc6ce92ec730afe36e281d3f6050af6a856 (diff)
Examples: Use Qt's canonical CamelCase headers
These are the names also given in the online documentation, so let's use them in the examples. Change-Id: Ia10af880a0f2495094a5eb626b568da670e2848d Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 16837bf1f16d877e1f58e98ba88d599eb128762f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/bluetooth/btchat/chat.cpp')
-rw-r--r--examples/bluetooth/btchat/chat.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/examples/bluetooth/btchat/chat.cpp b/examples/bluetooth/btchat/chat.cpp
index b323b2a3..bf794902 100644
--- a/examples/bluetooth/btchat/chat.cpp
+++ b/examples/bluetooth/btchat/chat.cpp
@@ -7,19 +7,20 @@
#include "remoteselector.h"
#include "ui_chat.h"
-#include <QtCore/qdebug.h>
+#include <QDebug>
-#include <QtBluetooth/qbluetoothdeviceinfo.h>
-#include <QtBluetooth/qbluetoothlocaldevice.h>
-#include <QtBluetooth/qbluetoothuuid.h>
+#include <QBluetoothDeviceInfo>
+#include <QBluetoothLocalDevice>
+#include <QBluetoothUuid>
-#include <QtGui/qguiapplication.h>
-#include <QtGui/qstylehints.h>
+#include <QGuiApplication>
+#include <QStyleHints>
#if QT_CONFIG(permissions)
-#include <QtCore/qcoreapplication.h>
-#include <QtCore/qpermissions.h>
-#include <QtWidgets/qmessagebox.h>
+#include <QCoreApplication>
+#include <QPermissions>
+
+#include <QMessageBox>
#endif
using namespace Qt::StringLiterals;