diff options
author | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2013-01-31 22:22:22 +1000 |
---|---|---|
committer | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2013-02-14 13:26:02 +0100 |
commit | 1002efbb0c049b6958a495660014eece7189150a (patch) | |
tree | 32843a1e213a083dfd2d2f4c2f45754e902a5fb3 /tests | |
parent | 4c6ddcf21f4e6f332674e5be6e09751fbccc01d6 (diff) |
Rename NFC and Bluetooth namespace macros.
Renamed to the namespace macros to follow what syncqt expects. This
fixes missing namespace macro warnings printed by syncqt.
Change-Id: I7be5a700e8435a559cb4c2e74938851233095887
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'tests')
20 files changed, 20 insertions, 20 deletions
diff --git a/tests/auto/qbluetoothaddress/tst_qbluetoothaddress.cpp b/tests/auto/qbluetoothaddress/tst_qbluetoothaddress.cpp index c41926a5..b789e417 100644 --- a/tests/auto/qbluetoothaddress/tst_qbluetoothaddress.cpp +++ b/tests/auto/qbluetoothaddress/tst_qbluetoothaddress.cpp @@ -45,7 +45,7 @@ #include <qbluetoothaddress.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH class tst_QBluetoothAddress : public QObject { diff --git a/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent.cpp b/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent.cpp index bd9ed476..260ad906 100644 --- a/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent.cpp +++ b/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent.cpp @@ -48,7 +48,7 @@ #include <qbluetoothdevicediscoveryagent.h> #include <qbluetoothlocaldevice.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetoothDeviceInfo) Q_DECLARE_METATYPE(QBluetoothDeviceDiscoveryAgent::InquiryType) diff --git a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp index 3cd890e7..db86342f 100644 --- a/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp +++ b/tests/auto/qbluetoothdeviceinfo/tst_qbluetoothdeviceinfo.cpp @@ -48,7 +48,7 @@ #include <qbluetoothlocaldevice.h> #include <qbluetoothuuid.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetoothDeviceInfo::ServiceClasses) Q_DECLARE_METATYPE(QBluetoothDeviceInfo::MajorDeviceClass) diff --git a/tests/auto/qbluetoothhostinfo/tst_qbluetoothhostinfo.cpp b/tests/auto/qbluetoothhostinfo/tst_qbluetoothhostinfo.cpp index fec5e441..2b064b33 100644 --- a/tests/auto/qbluetoothhostinfo/tst_qbluetoothhostinfo.cpp +++ b/tests/auto/qbluetoothhostinfo/tst_qbluetoothhostinfo.cpp @@ -46,7 +46,7 @@ #include <qbluetoothhostinfo.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH class tst_QBluetoothHostInfo : public QObject { diff --git a/tests/auto/qbluetoothlocaldevice/tst_qbluetoothlocaldevice.cpp b/tests/auto/qbluetoothlocaldevice/tst_qbluetoothlocaldevice.cpp index ea5e20aa..8ceee35a 100644 --- a/tests/auto/qbluetoothlocaldevice/tst_qbluetoothlocaldevice.cpp +++ b/tests/auto/qbluetoothlocaldevice/tst_qbluetoothlocaldevice.cpp @@ -47,7 +47,7 @@ #include <qbluetoothaddress.h> #include <qbluetoothlocaldevice.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH class tst_QBluetoothLocalDevice : public QObject { diff --git a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp index fddfa9c0..ec662271 100644 --- a/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp +++ b/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp @@ -50,7 +50,7 @@ #include <qbluetoothservicediscoveryagent.h> #include <qbluetoothlocaldevice.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetoothDeviceInfo) Q_DECLARE_METATYPE(QBluetoothServiceDiscoveryAgent::Error) diff --git a/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp b/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp index a7add931..4d311cde 100644 --- a/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp +++ b/tests/auto/qbluetoothserviceinfo/tst_qbluetoothserviceinfo.cpp @@ -50,7 +50,7 @@ #include <qbluetoothlocaldevice.h> #include <qbluetoothuuid.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetoothUuid::ProtocolUuid) Q_DECLARE_METATYPE(QUuid) diff --git a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp index 73b97d75..664d9d75 100644 --- a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp +++ b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp @@ -53,7 +53,7 @@ #include <btclient.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetoothSocket::SocketState) Q_DECLARE_METATYPE(QBluetoothSocket::SocketType) diff --git a/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp b/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp index 8e508fd1..a4059340 100644 --- a/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp +++ b/tests/auto/qbluetoothtransfermanager/tst_qbluetoothtransfermanager.cpp @@ -56,7 +56,7 @@ #include <qbluetoothservicediscoveryagent.h> #include <btclient.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH typedef QMap<int,QVariant> tst_QBluetoothTransferManager_QParameterMap; Q_DECLARE_METATYPE(tst_QBluetoothTransferManager_QParameterMap) diff --git a/tests/auto/qbluetoothtransferrequest/tst_qbluetoothtransferrequest.cpp b/tests/auto/qbluetoothtransferrequest/tst_qbluetoothtransferrequest.cpp index c1da6ff7..114dabe3 100644 --- a/tests/auto/qbluetoothtransferrequest/tst_qbluetoothtransferrequest.cpp +++ b/tests/auto/qbluetoothtransferrequest/tst_qbluetoothtransferrequest.cpp @@ -48,7 +48,7 @@ #include <qbluetoothaddress.h> #include <qbluetoothlocaldevice.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH typedef QMap<int,QVariant> tst_QBluetoothTransferRequest_QParameterMap; Q_DECLARE_METATYPE(tst_QBluetoothTransferRequest_QParameterMap) diff --git a/tests/auto/qbluetoothuuid/tst_qbluetoothuuid.cpp b/tests/auto/qbluetoothuuid/tst_qbluetoothuuid.cpp index 5e1474d6..78637627 100644 --- a/tests/auto/qbluetoothuuid/tst_qbluetoothuuid.cpp +++ b/tests/auto/qbluetoothuuid/tst_qbluetoothuuid.cpp @@ -51,7 +51,7 @@ # include <netinet/in.h> #endif -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(quint128) diff --git a/tests/auto/ql2capserver/tst_ql2capserver.cpp b/tests/auto/ql2capserver/tst_ql2capserver.cpp index 47784eec..5154ab49 100644 --- a/tests/auto/ql2capserver/tst_ql2capserver.cpp +++ b/tests/auto/ql2capserver/tst_ql2capserver.cpp @@ -46,7 +46,7 @@ #include <ql2capserver.h> #include <qbluetoothsocket.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetooth::SecurityFlags); diff --git a/tests/auto/qndefmessage/tst_qndefmessage.cpp b/tests/auto/qndefmessage/tst_qndefmessage.cpp index 44a8446d..90453938 100644 --- a/tests/auto/qndefmessage/tst_qndefmessage.cpp +++ b/tests/auto/qndefmessage/tst_qndefmessage.cpp @@ -46,7 +46,7 @@ #include <qndefnfctextrecord.h> #include <qndefnfcurirecord.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC Q_DECLARE_METATYPE(QNdefRecord) diff --git a/tests/auto/qndefrecord/tst_qndefrecord.cpp b/tests/auto/qndefrecord/tst_qndefrecord.cpp index d5b013f0..a02acc30 100644 --- a/tests/auto/qndefrecord/tst_qndefrecord.cpp +++ b/tests/auto/qndefrecord/tst_qndefrecord.cpp @@ -45,7 +45,7 @@ #include <qndefnfctextrecord.h> #include <qndefnfcurirecord.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC class tst_QNdefRecord : public QObject { diff --git a/tests/auto/qnearfieldmanager/tst_qnearfieldmanager.cpp b/tests/auto/qnearfieldmanager/tst_qnearfieldmanager.cpp index 92a4e99a..92a02f9a 100644 --- a/tests/auto/qnearfieldmanager/tst_qnearfieldmanager.cpp +++ b/tests/auto/qnearfieldmanager/tst_qnearfieldmanager.cpp @@ -48,7 +48,7 @@ #include <qndefmessage.h> #include <qndefrecord.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC Q_DECLARE_METATYPE(QNearFieldTarget*) Q_DECLARE_METATYPE(QNearFieldTarget::Type) diff --git a/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp b/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp index 36a8accf..2f733b86 100644 --- a/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp +++ b/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp @@ -47,7 +47,7 @@ #include <qnearfieldtagtype1.h> #include <qndefnfctextrecord.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC Q_DECLARE_METATYPE(QNearFieldTarget*) diff --git a/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp b/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp index c18d0291..db613deb 100644 --- a/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp +++ b/tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp @@ -47,7 +47,7 @@ #include <qnearfieldtagtype2.h> #include <qndefnfctextrecord.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC Q_DECLARE_METATYPE(QNearFieldTarget*) diff --git a/tests/auto/qrfcommserver/tst_qrfcommserver.cpp b/tests/auto/qrfcommserver/tst_qrfcommserver.cpp index a78fecb1..58810142 100644 --- a/tests/auto/qrfcommserver/tst_qrfcommserver.cpp +++ b/tests/auto/qrfcommserver/tst_qrfcommserver.cpp @@ -47,7 +47,7 @@ #include <qbluetoothsocket.h> #include <qbluetoothlocaldevice.h> -QTBLUETOOTH_USE_NAMESPACE +QT_USE_NAMESPACE_BLUETOOTH Q_DECLARE_METATYPE(QBluetooth::SecurityFlags); diff --git a/tests/nfctestserver/servercontroller.h b/tests/nfctestserver/servercontroller.h index b9153308..579f68c5 100644 --- a/tests/nfctestserver/servercontroller.h +++ b/tests/nfctestserver/servercontroller.h @@ -46,7 +46,7 @@ #include <qllcpserver.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC class ServerController : public QObject { diff --git a/tests/nfctestserver/socketcontroller.h b/tests/nfctestserver/socketcontroller.h index 38741ced..0d6cfd78 100644 --- a/tests/nfctestserver/socketcontroller.h +++ b/tests/nfctestserver/socketcontroller.h @@ -47,7 +47,7 @@ #include <qnearfieldmanager.h> #include <qllcpsocket.h> -QTNFC_USE_NAMESPACE +QT_USE_NAMESPACE_NFC class SocketController : public QObject { |