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>.
Loading...
Searching...
No Matches
bluez5_helper_p.h File Reference

(663b9f3ea7365505cc223285624edc34eaa33982)

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include <QtBluetooth/QBluetoothUuid>
#include <QtBluetooth/QBluetoothAddress>
#include <QtBluetooth/private/qtbluetoothglobal_p.h>
+ Include dependency graph for bluez5_helper_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QtBluezDiscoveryManager
 

Typedefs

typedef QMap< QString, QVariantMapInterfaceList
 
typedef QMap< QDBusObjectPath, InterfaceListManagedObjectList
 
typedef QMap< quint16, QDBusVariantManufacturerDataList
 
typedef QMap< QString, QDBusVariantServiceDataList
 

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 Documentation

◆ InterfaceList

Definition at line 24 of file bluez5_helper_p.h.

◆ ManagedObjectList

◆ ManufacturerDataList

Definition at line 26 of file bluez5_helper_p.h.

◆ ServiceDataList

Definition at line 27 of file bluez5_helper_p.h.

Function Documentation

◆ adapterWithDBusPeripheralInterface()

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().

+ Here is the call graph for this function:

◆ bluetoothdVersion()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ findAdapterForAddress()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initializeBluez5()

QT_BEGIN_NAMESPACE void initializeBluez5 ( )

Referenced by RemoteDeviceManager::RemoteDeviceManager(), adapterWithDBusPeripheralInterface(), nameOfRemoteCentral(), and QBluetoothSocketPrivateBluez::peerName().

+ Here is the caller graph for this function:

◆ isBluez5()

bool isBluez5 ( )

◆ sanitizeNameForDBus()

QString sanitizeNameForDBus ( const QString & text)

Definition at line 556 of file bluez5_helper.cpp.

References i, QString::size(), text, and QString::unicode().

Referenced by QBluetoothSocketPrivateBluezDBus::connectToServiceHelper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: