summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdeviceinfo.h
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2013-09-05 16:58:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-10 12:19:52 +0200
commit50241cb82481de3dc9f5681532c3a8ddd381f894 (patch)
tree766df8ee6e200745f2993f501eff117d5b5eff55 /src/bluetooth/qbluetoothdeviceinfo.h
parent1047f9e838c7b3fad79210d193ec334b3d53a0d7 (diff)
Clean up QBluetoothDeviceInfo
This patch removes "ManufacturerSpecificData" because it is not implemented and some dead code. Change-Id: I95a142280835addf65fbedd4a26f3266c7dc0838 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothdeviceinfo.h')
-rw-r--r--src/bluetooth/qbluetoothdeviceinfo.h32
1 files changed, 11 insertions, 21 deletions
diff --git a/src/bluetooth/qbluetoothdeviceinfo.h b/src/bluetooth/qbluetoothdeviceinfo.h
index ab01b406..ee8be191 100644
--- a/src/bluetooth/qbluetoothdeviceinfo.h
+++ b/src/bluetooth/qbluetoothdeviceinfo.h
@@ -66,11 +66,11 @@ public:
WearableDevice = 7,
ToyDevice = 8,
HealthDevice = 9,
- UncategorizedDevice = 31,
+ UncategorizedDevice = 31
};
enum MinorMiscellaneousClass {
- UncategorizedMiscellaneous = 0,
+ UncategorizedMiscellaneous = 0
};
enum MinorComputerClass {
@@ -80,7 +80,7 @@ public:
LaptopComputer = 3,
HandheldClamShellComputer = 4,
HandheldComputer = 5,
- WearableComputer = 6,
+ WearableComputer = 6
};
enum MinorPhoneClass {
@@ -89,7 +89,7 @@ public:
CordlessPhone = 2,
SmartPhone = 3,
WiredModemOrVoiceGatewayPhone = 4,
- CommonIsdnAccessPhone = 5,
+ CommonIsdnAccessPhone = 5
};
enum MinorNetworkClass {
@@ -100,7 +100,7 @@ public:
NetworkLoadFactorFour = 0x20,
NetworkLoadFactorFive = 0x28,
NetworkLoadFactorSix = 0x30,
- NetworkNoService = 0x38,
+ NetworkNoService = 0x38
};
enum MinorAudioVideoClass {
@@ -122,7 +122,7 @@ public:
VideoDisplayAndLoudspeaker = 15,
VideoConferencing = 16,
// reserved = 17,
- GamingDevice = 18,
+ GamingDevice = 18
};
enum MinorPeripheralClass {
@@ -136,7 +136,7 @@ public:
RemoteControlPeripheral = 0x03,
SensingDevicePeripheral = 0x04,
DigitizerTabletPeripheral = 0x05,
- CardReaderPeripheral = 0x06,
+ CardReaderPeripheral = 0x06
};
enum MinorImagingClass {
@@ -153,7 +153,7 @@ public:
WearablePager = 2,
WearableJacket = 3,
WearableHelmet = 4,
- WearableGlasses = 5,
+ WearableGlasses = 5
};
enum MinorToyClass {
@@ -162,7 +162,7 @@ public:
ToyVehicle = 2,
ToyDoll = 3,
ToyController = 4,
- ToyGame = 5,
+ ToyGame = 5
};
enum MinorHealthClass {
@@ -186,14 +186,14 @@ public:
AudioService = 0x0020,
TelephonyService = 0x0040,
InformationService = 0x0080,
- AllServices = 0x07ff,
+ AllServices = 0x07ff
};
Q_DECLARE_FLAGS(ServiceClasses, ServiceClass)
enum DataCompleteness {
DataComplete,
DataIncomplete,
- DataUnavailable,
+ DataUnavailable
};
QBluetoothDeviceInfo();
@@ -220,20 +220,10 @@ public:
qint16 rssi() const;
void setRssi(qint16 signal);
-// bool matchesMinorClass(MinorComputerClass minor) const;
-// bool matchesMinorClass(MinorPhoneClass minor) const;
-// bool matchesMinorClass(MinorNetworkClass minor) const;
-// bool matchesMinorClass(MinorAudioVideoClass minor) const;
-// bool matchesMinorClass(MinorPeripheralClass minor) const;
-// bool matchesMinorClass(MinorImagingClass minor) const;
-
void setServiceUuids(const QList<QBluetoothUuid> &uuids, DataCompleteness completeness);
QList<QBluetoothUuid> serviceUuids(DataCompleteness *completeness = 0) const;
DataCompleteness serviceUuidsCompleteness() const;
- void setManufacturerSpecificData(const QByteArray &data);
- QByteArray manufacturerSpecificData(bool *available = 0) const;
-
protected:
QBluetoothDeviceInfoPrivate *d_ptr;