Added prompt for deleting list.
[easylist] / systemsettings.cpp
index 5cd7d88..b8c1b4f 100755 (executable)
@@ -7,7 +7,7 @@ SystemSettings::SystemSettings()
 {\r
     ++instances;\r
     settings = new QSettings(WILLEM_LIU, EASY_LIST);\r
-#ifdef Q_WS_MAEMO_5\r
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON) || defined(MEEGO_EDITION_HARMATTAN)\r
     // Connect to DBUS of keyboard slider.\r
     QDBusConnection::systemBus().connect(QString("org.freedesktop.Hal"),\r
                                          DBUS_KEYBOARD_SLIDE,\r
@@ -34,7 +34,7 @@ void SystemSettings::slotKeyboardSlide()
 bool SystemSettings::getKeyboardClosed()\r
 {\r
     bool closed = false;\r
-#ifdef Q_WS_MAEMO_5\r
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON) || defined(MEEGO_EDITION_HARMATTAN)\r
     QDBusInterface propertyInterface("org.freedesktop.Hal",\r
                     DBUS_KEYBOARD_SLIDE,\r
                     "org.freedesktop.Hal.Device",\r