Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include <QtBluetooth/QBluetoothUuid>
#include <QtBluetooth/QBluetoothAddress>
#include <QtBluetooth/private/qtbluetoothglobal_p.h>
Go to the source code of this file.
Classes | |
class | QtBluezDiscoveryManager |
Typedefs | |
typedef QMap< QString, QVariantMap > | InterfaceList |
typedef QMap< QDBusObjectPath, InterfaceList > | ManagedObjectList |
typedef QMap< quint16, QDBusVariant > | ManufacturerDataList |
typedef QMap< QString, QDBusVariant > | ServiceDataList |
Functions | |
QT_BEGIN_NAMESPACE void | initializeBluez5 () |
bool | isBluez5 () |
Q_BLUETOOTH_EXPORT QVersionNumber | bluetoothdVersion () |
QString | sanitizeNameForDBus (const QString &text) |
QString | findAdapterForAddress (const QBluetoothAddress &wantedAddress, bool *ok) |
QString | adapterWithDBusPeripheralInterface (const QBluetoothAddress &localAddress) |
typedef QMap<QString, QVariantMap> InterfaceList |
Definition at line 24 of file bluez5_helper_p.h.
typedef QMap<QDBusObjectPath, InterfaceList> ManagedObjectList |
Definition at line 25 of file bluez5_helper_p.h.
typedef QMap<quint16, QDBusVariant> ManufacturerDataList |
Definition at line 26 of file bluez5_helper_p.h.
typedef QMap<QString, QDBusVariant> ServiceDataList |
Definition at line 27 of file bluez5_helper_p.h.
QString adapterWithDBusPeripheralInterface | ( | const QBluetoothAddress & | localAddress | ) |
Definition at line 520 of file bluez5_helper.cpp.
References findAdapterForAddress(), initializeBluez5(), manager, ok, qCDebug, QStringLiteral, reply, and QDBusConnection::systemBus().
Q_BLUETOOTH_EXPORT QVersionNumber bluetoothdVersion | ( | ) |
Definition at line 155 of file bluez5_helper.cpp.
References arg, QString::fromLocal8Bit(), QVersionNumber::fromString(), info, QDBusConnection::interface(), QString::isNull(), mandatoryHciIoctlsAvailable(), Q_ASSERT, qCDebug, qCWarning, qEnvironmentVariable(), QStringLiteral, qt_haveLinuxProcfs(), QIODeviceBase::ReadOnly, QDBusConnectionInterface::servicePid(), QDBusConnection::systemBus(), and QIODeviceBase::Text.
Referenced by createSocketPrivate().
QString findAdapterForAddress | ( | const QBluetoothAddress & | wantedAddress, |
bool * | ok ) |
Definition at line 459 of file bluez5_helper.cpp.
References QSet< T >::constBegin(), QSet< T >::constEnd(), it, manager, ok, QStringLiteral, reply, QDBusConnection::systemBus(), and toString().
Referenced by RemoteDeviceManager::RemoteDeviceManager(), adapterWithDBusPeripheralInterface(), findRemoteDevicePath(), QBluetoothSocketPrivateBluezDBus::localAddress(), and QBluetoothSocketPrivateBluezDBus::localName().
QT_BEGIN_NAMESPACE void initializeBluez5 | ( | ) |
Referenced by RemoteDeviceManager::RemoteDeviceManager(), adapterWithDBusPeripheralInterface(), nameOfRemoteCentral(), and QBluetoothSocketPrivateBluez::peerName().
bool isBluez5 | ( | ) |
Definition at line 556 of file bluez5_helper.cpp.
References i, QString::size(), text, and QString::unicode().
Referenced by QBluetoothSocketPrivateBluezDBus::connectToServiceHelper().