summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothaddress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothaddress.cpp')
-rw-r--r--src/bluetooth/qbluetoothaddress.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/bluetooth/qbluetoothaddress.cpp b/src/bluetooth/qbluetoothaddress.cpp
index 9213a431..798b325b 100644
--- a/src/bluetooth/qbluetoothaddress.cpp
+++ b/src/bluetooth/qbluetoothaddress.cpp
@@ -62,8 +62,7 @@ QT_BEGIN_NAMESPACE
Returns true if the Bluetooth addresses are not equal, otherwise returns false.
*/
-namespace
-{
+namespace {
class BluetoothAddressRegisterMetaTypes
{
public:
@@ -77,16 +76,16 @@ public:
/*!
Constructs an null Bluetooth address.
*/
-QBluetoothAddress::QBluetoothAddress()
- : d_ptr(new QBluetoothAddressPrivate)
+QBluetoothAddress::QBluetoothAddress() :
+ d_ptr(new QBluetoothAddressPrivate)
{
}
/*!
Constructs a new Bluetooth address and assigns \a address to it.
*/
-QBluetoothAddress::QBluetoothAddress(quint64 address)
- : d_ptr(new QBluetoothAddressPrivate)
+QBluetoothAddress::QBluetoothAddress(quint64 address) :
+ d_ptr(new QBluetoothAddressPrivate)
{
Q_D(QBluetoothAddress);
d->m_address = address;
@@ -98,8 +97,8 @@ QBluetoothAddress::QBluetoothAddress(quint64 address)
The format of \a address can be either XX:XX:XX:XX:XX:XX or XXXXXXXXXXXX,
where X is a hexadecimal digit. Case is not important.
*/
-QBluetoothAddress::QBluetoothAddress(const QString &address)
- : d_ptr(new QBluetoothAddressPrivate)
+QBluetoothAddress::QBluetoothAddress(const QString &address) :
+ d_ptr(new QBluetoothAddressPrivate)
{
Q_D(QBluetoothAddress);
@@ -121,8 +120,8 @@ QBluetoothAddress::QBluetoothAddress(const QString &address)
/*!
Constructs a new Bluetooth address which is a copy of \a other.
*/
-QBluetoothAddress::QBluetoothAddress(const QBluetoothAddress &other)
- : d_ptr(new QBluetoothAddressPrivate)
+QBluetoothAddress::QBluetoothAddress(const QBluetoothAddress &other) :
+ d_ptr(new QBluetoothAddressPrivate)
{
*this = other;
}