summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2009-11-20 10:49:20 +1000
committerAlex <qt-info@nokia.com>2009-11-20 10:49:20 +1000
commit10c83e643b8112bc5be950959a8f407b4f0d8d0e (patch)
tree4c3776a12ca2c40403414c269a110467c5db18b5 /tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
parentd986c7cb8422f9d37fe69dec5d12b2bd59e237ac (diff)
make unit tests work with namespace
Diffstat (limited to 'tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp')
-rw-r--r--tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
index dd7559552b..0df83da4bf 100644
--- a/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
+++ b/tests/auto/qsystemdeviceinfo/tst_qsystemdeviceinfo.cpp
@@ -42,6 +42,7 @@
#include "qsysteminfo.h"
#include "../qsysteminfotestcommon.h"
+QTM_USE_NAMESPACE
Q_DECLARE_METATYPE(QSystemDeviceInfo::BatteryStatus);
Q_DECLARE_METATYPE(QSystemDeviceInfo::PowerState);
Q_DECLARE_METATYPE(QSystemDeviceInfo::InputMethodFlags);