homescreenapp/hsapplication/src/hsstatemachine.cpp
changeset 98 e6f74eb7f69f
parent 95 32e56106abf2
child 101 ba1b7e218624
--- a/homescreenapp/hsapplication/src/hsstatemachine.cpp	Wed Oct 06 16:06:24 2010 +0300
+++ b/homescreenapp/hsapplication/src/hsstatemachine.cpp	Mon Oct 18 10:20:15 2010 +0300
@@ -45,6 +45,7 @@
 #include "hsconfiguration.h"
 #include "hstest_global.h"
 #include "hswidgetpositioningonwidgetmove.h"
+#include "hssystemevents.h"
 
 QTM_USE_NAMESPACE
 #define hbApp qobject_cast<HbApplication*>(qApp)
@@ -440,6 +441,9 @@
         }
     } else if (name == Hs::activityHsIdleView) {
         emit event_toIdle();
+    } else if (name == Hs::activityHsHomeKeyPressedOnBackground) {
+        HsSystemEvents *systemEvents = HsSystemEvents::instance();
+        emit systemEvents->homeKeyClicked();
     } else if (name == Hs::activityAppLibMainView) {
         emit event_toAppLib();
     }