diff options
Diffstat (limited to 'examples/bluetooth/btchat/chat.h')
-rw-r--r-- | examples/bluetooth/btchat/chat.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/bluetooth/btchat/chat.h b/examples/bluetooth/btchat/chat.h index 846e91dd..a9e99395 100644 --- a/examples/bluetooth/btchat/chat.h +++ b/examples/bluetooth/btchat/chat.h @@ -1,13 +1,15 @@ // Copyright (C) 2017 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause -#include "ui_chat.h" - #include <QtWidgets/qdialog.h> #include <QtBluetooth/qbluetoothhostinfo.h> -QT_USE_NAMESPACE +QT_BEGIN_NAMESPACE +namespace Ui { + class Chat; +} +QT_END_NAMESPACE class ChatServer; class ChatClient; @@ -41,7 +43,7 @@ private slots: private: int adapterFromUserSelection() const; int currentAdapterIndex = 0; - Ui_Chat *ui; + Ui::Chat *ui; ChatServer *server; QList<ChatClient *> clients; |