4#ifndef QBLUETOOTHDEVICEWATCHER_WINRT_P_H
5#define QBLUETOOTHDEVICEWATCHER_WINRT_P_H
18#include <QtCore/private/qglobal_p.h>
19#include <QtCore/QObject>
21#include <private/qbluetoothutils_winrt_p.h>
23#include <winrt/base.h>
24#include <QtCore/private/qfactorycacheregistration_p.h>
25#include <winrt/Windows.Devices.Enumeration.h>
30 public std::enable_shared_from_this<QBluetoothDeviceWatcherWinRT>
36 winrt::Windows::Devices::Enumeration::DeviceInformationKind kind);
53 void subscribeToEvents();
54 void unsubscribeFromEvents();
58 winrt::Windows::Devices::Enumeration::DeviceWatcher m_watcher =
nullptr;
60 winrt::event_token m_addedToken;
61 winrt::event_token m_removedToken;
62 winrt::event_token m_updatedToken;
63 winrt::event_token m_enumerationToken;
64 winrt::event_token m_stoppedToken;
void enumerationCompleted(int id)
void deviceAdded(winrt::hstring deviceId, int id)
void deviceUpdated(winrt::hstring deviceId, int id)
void watcherStopped(int id)
void deviceRemoved(winrt::hstring deviceId, int id)
~QBluetoothDeviceWatcherWinRT()
Combined button and popup list for selecting options.
QFileSelector selector
[1]