homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp
changeset 86 e4f038c420f7
parent 81 7dd137878ff8
child 90 3ac3aaebaee5
--- a/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp	Wed Aug 18 10:33:57 2010 +0300
+++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp	Mon Sep 13 13:03:23 2010 +0300
@@ -182,11 +182,13 @@
  \param actionName string with action name
  \retval int error code, 0 if no error
  */
-int HsMenuService::executeAction(int entryId, const QString &actionName)
+int HsMenuService::executeAction(int entryId, const QString &actionName, 
+        QObject* receiver, const char* member)
 {
     qDebug() << "HsMenuService::executeAction entryId:" << entryId
              << "actionName:" << actionName;
-    return CaService::instance()->executeCommand(entryId, actionName);
+    return CaService::instance()->executeCommand(
+            entryId, actionName, receiver, member);
 }
 
 /*!
@@ -380,12 +382,7 @@
 void HsMenuService::touch(int entryId)
 {
     QSharedPointer<CaEntry> entry = CaService::instance()->getEntry(entryId);
-    if (entry->flags() & RemovableEntryFlag &&
-        (entry->flags() & UsedEntryFlag) == 0 &&
-        entry->role() == ItemEntryRole &&
-        entry->entryTypeName() != QString(Hs::packageTypeName)) {
-            CaService::instance()->touch(* entry);
-    }
+    CaService::instance()->touch(* entry);
 }
 
 /*!