--- a/userguide/src/HelpUtils.cpp Fri Jun 11 16:23:42 2010 +0100
+++ b/userguide/src/HelpUtils.cpp Thu Jul 22 16:30:58 2010 +0100
@@ -28,8 +28,10 @@
#ifdef Q_OS_SYMBIAN
+#include <qsysteminfo.h>
+#include <xqappmgr.h>
+
#include <e32const.h>
-#include <xqappmgr.h>
#include <eikenv.h>
#include <zipfile.h>
@@ -249,6 +251,21 @@
return 0;
}
+bool HelpUtils::suppportFeatureID(int featureID)
+{
+#ifdef Q_OS_SYMBIAN
+ if(featureID == -1)
+ {
+ return true;
+ }
+ QtMobility::QSystemInfo sysInfo;
+ return sysInfo.hasFeatureSupported((QtMobility::QSystemInfo::Feature)featureID);
+#else
+ Q_UNUSED(featureID);
+ return true;
+#endif
+}
+
Qt::Orientation HelpUtils::defaultOrientation()
{
return Qt::Vertical;