summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-12-14 12:15:07 +1000
committerLorn Potter <lorn.potter@nokia.com>2010-12-14 12:15:07 +1000
commitc5706341dcf60c87df7f1177c6472120a34c584c (patch)
tree05dc4752856e1444571e5e30a32e47c8b0eb2646 /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
parent56f8f326a08eb42fd895f7d25a9ed9da3c8d8915 (diff)
rename and clarify.
Diffstat (limited to 'tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp')
-rw-r--r--tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
index a25a54c39e..2038bcd78d 100644
--- a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
+++ b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
@@ -252,7 +252,7 @@ void tst_QSystemDeviceInfo::tst_currentBluetoothPowerState()
void tst_QSystemDeviceInfo::tst_keyboardType()
{
QSystemDeviceInfo di;
- QSystemDeviceInfo::KeyboardTypeFlags flags = di.keyboardType();
+ QSystemDeviceInfo::KeyboardTypeFlags flags = di.keyboardTypes();
QVERIFY( (flags && QSystemDeviceInfo::UnknownKeyboard == QSystemDeviceInfo::UnknownKeyboard)
|| (flags && QSystemDeviceInfo::SoftwareKeyboard == QSystemDeviceInfo::SoftwareKeyboard)
@@ -277,7 +277,7 @@ void tst_QSystemDeviceInfo::tst_isWirelessKeyboardConnected()
void tst_QSystemDeviceInfo::tst_isKeyboardFlipOpen()
{
QSystemDeviceInfo di;
- bool on = di.isKeyboardFlipOpen();
+ bool on = di.isKeyboardFlippedOpen();
QVERIFY(on || !on);
}
@@ -295,7 +295,7 @@ void tst_QSystemDeviceInfo::tst_keypadLightOn()
void tst_QSystemDeviceInfo::tst_uniqueID()
{
QSystemDeviceInfo di;
- QUuid id = di.uniqueID();
+ QUuid id = di.uniqueDeviceID();
QVERIFY(id.isNull()|| !id.isNull());
}