diff options
Diffstat (limited to 'examples/bluetooth/btchat/chat.h')
-rw-r--r-- | examples/bluetooth/btchat/chat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/bluetooth/btchat/chat.h b/examples/bluetooth/btchat/chat.h index fed850f1..75d7669f 100644 --- a/examples/bluetooth/btchat/chat.h +++ b/examples/bluetooth/btchat/chat.h @@ -44,6 +44,7 @@ #include <qbluetoothserviceinfo.h> #include <qbluetoothsocket.h> +#include <qbluetoothhostinfo.h> #include <QDebug> @@ -75,11 +76,16 @@ private slots: void clientDisconnected(); void connected(const QString &name); + void newAdapterSelected(); + private: + int adapterFromUserSelection() const; + int currentAdapterIndex; Ui_Chat *ui; ChatServer *server; QList<ChatClient *> clients; + QList<QBluetoothHostInfo> localAdapters; QString localName; }; |