--- a/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp Mon Sep 27 11:52:00 2010 +0300
+++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp Wed Oct 06 16:06:24 2010 +0300
@@ -266,8 +266,8 @@
<< collection;
collection->setText(newCollectionName);
- collection->setAttribute(COLLECTION_TITLE_NAME, newCollectionName);
collection->setAttribute(COLLECTION_SHORT_NAME, newCollectionName);
+ collection->removeAttribute(COLLECTION_TITLE_NAME);
result = CaService::instance()->updateEntry(*collection);
}
HSMENUTEST_FUNC_EXIT("HsMenuService::renameCollection");
@@ -393,8 +393,7 @@
/*!
Touch action on an entry.
\param entryId of this entry.
- \retval boolean error code.
- */
+*/
void HsMenuService::touch(int entryId)
{
QSharedPointer<CaEntry> entry = CaService::instance()->getEntry(entryId);
@@ -402,9 +401,17 @@
}
/*!
+ Touch action on an entry.
+ \param entry of this item.
+ */
+void HsMenuService::touch(const CaEntry &entry)
+{
+ CaService::instance()->touch(entry);
+}
+
+/*!
Touch action on an lists of entries.
\param entryIdList of this entry.
- \retval boolean error code.
*/
void HsMenuService::touch(const QList<int> &entryIdList)
{