![]() |
Qt 6.x
The Qt SDK
|
#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_PRIVATE_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(), QString::isEmpty(), manager, ok, qCDebug, QStringLiteral, reply, and QDBusConnection::systemBus().
Q_BLUETOOTH_PRIVATE_EXPORT QVersionNumber bluetoothdVersion | ( | ) |
Definition at line 155 of file bluez5_helper.cpp.
References arg, QFileDevice::close(), QString::fromLocal8Bit(), QVersionNumber::fromString(), info, QDBusConnection::interface(), QFileInfo::isExecutable(), QString::isNull(), QVersionNumber::isNull(), mandatoryHciIoctlsAvailable(), QFile::open(), Q_ASSERT, qCDebug, qCWarning, qEnvironmentVariable(), QStringLiteral, qt_haveLinuxProcfs(), QIODevice::readAll(), 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 QList< T >::append(), QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), QList< T >::front(), QList< T >::isEmpty(), it, manager, ok, QStringLiteral, reply, QDBusConnection::systemBus(), toString(), and QMap< Key, T >::value().
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().