emailservices/nmregister/src/nmmailboxregisterinterface.cpp
changeset 54 997a02608b3a
parent 30 759dc5235cdb
child 59 16ed8d08d0b1
--- a/emailservices/nmregister/src/nmmailboxregisterinterface.cpp	Wed Jun 23 18:00:21 2010 +0300
+++ b/emailservices/nmregister/src/nmmailboxregisterinterface.cpp	Tue Jul 06 14:04:34 2010 +0300
@@ -19,7 +19,7 @@
 
 #include <qservicemanager.h>
 #include <qserviceinterfacedescriptor.h>
-#include <HbIcon>
+#include <hbicon.h>
 #include <HbApplication>
 #include <QTranslator>
 #include "nmicons.h"
@@ -33,6 +33,7 @@
 //not mandatory 
 const QString hsItemWidgetUri("widget:uri");
 const QString hsItemDescription("item:description");
+const QString hsItemLocDescription("item:locdescription");
 //for icon - not mandatory 
 const QString hsIconFileName("icon:filename");//to display specific icon from file 
 const QString hsIconName("icon:name");// HbIcon 
@@ -198,7 +199,7 @@
     map[hsitemLaunchUri] = formLaunchUri(accountId);
     map[hsitemPublisherId] = NmPublisherName;
     map[hsItemWidgetUri] = NmHsWidget;
-    map[hsItemDescription] = hbTrId("txt_mail_widget_dblist_preview_of_recent_mail");
+    map[hsItemLocDescription] = "loc://" + KNmRegisterLocFileName + "/txt_mail_widget_dblist_preview_of_recent_mail";
     map[hsIconFileName] = accountIconName;
     // to add widget params that are mapped to widgets properties
     map[NmHsWidgetParamAccountId] = QString::number(accountId);