diff options
Diffstat (limited to 'src/bluetooth/qbluetoothhostinfo.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothhostinfo.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothhostinfo.cpp b/src/bluetooth/qbluetoothhostinfo.cpp index 1e8dbc2e..00ce0680 100644 --- a/src/bluetooth/qbluetoothhostinfo.cpp +++ b/src/bluetooth/qbluetoothhostinfo.cpp @@ -82,6 +82,19 @@ QBluetoothHostInfo::~QBluetoothHostInfo() } /*! + Assigns \a other to this QBluetoothHostInfo instance. +*/ +QBluetoothHostInfo &QBluetoothHostInfo::operator=(const QBluetoothHostInfo &other) +{ + Q_D(QBluetoothHostInfo); + + d->m_address = other.d_func()->m_address; + d->m_name = other.d_func()->m_name; + + return *this; +} + +/*! Returns the Bluetooth address as a QBluetoothAddress. */ QBluetoothAddress QBluetoothHostInfo::address() const |