diff -r 3916af29624a -r 7dd137878ff8 homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsviewappdetailsstate.cpp --- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsviewappdetailsstate.cpp Fri Aug 13 14:38:12 2010 +0300 +++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsviewappdetailsstate.cpp Wed Aug 18 10:33:57 2010 +0300 @@ -78,16 +78,16 @@ HsMenuEvent *menuEvent = static_cast(event); QVariantMap data = menuEvent->data(); - const int entryId = data.value(itemIdKey()).toInt(); + const int entryId = data.value(Hs::itemIdKey).toInt(); QSharedPointer entry = CaService::instance()->getEntry(entryId); const int componentId = entry->attribute( - componentIdAttributeName()).toInt(); + Hs::componentIdAttributeName).toInt(); QSharedPointer scr = CaSoftwareRegistry::create(); CaSoftwareRegistry::DetailMap detailMap = scr->entryDetails(componentId); - QString appType = entry->attribute(swTypeKey()); + QString appType = entry->attribute(Hs::swTypeKey); //TODO: Should we display something In that case? @@ -102,7 +102,7 @@ Q_ASSERT_X(loadStatusOk, HS_DETAILS_DIALOG_LAYOUT, "Error while loading docml file."); - if (!appType.compare(javaSwType())) { + if (!appType.compare(Hs::javaSwType)) { QString section = QString(HS_VIEWAPPDETAILS_JAVA_DIALOG_SECTION_NAME); loader.load(HS_DETAILS_DIALOG_LAYOUT, section, &loadStatusOk); @@ -129,7 +129,7 @@ setFieldPresentation(CaSoftwareRegistry::componentTypeKey(), detailMap, loader); - if (!appType.compare(javaSwType())) { + if (!appType.compare(Hs::javaSwType)) { setFieldPresentation(CaSoftwareRegistry::componentDescriptionKey(), detailMap, loader); setFieldPresentation(CaSoftwareRegistry::componentProtectionDomainKey(),