iaupdate/IAD/ui/src/iaupdatedialogutil.cpp
changeset 52 92f864ef0288
parent 42 d17dc5398051
child 77 d1838696558c
--- a/iaupdate/IAD/ui/src/iaupdatedialogutil.cpp	Fri Jun 11 13:45:18 2010 +0300
+++ b/iaupdate/IAD/ui/src/iaupdatedialogutil.cpp	Wed Jun 23 18:20:02 2010 +0300
@@ -15,7 +15,7 @@
 *                member functions.
 *
 */
-#include <hbtextitem.h>
+#include <hblabel.h>
 #include <hbmessagebox.h>
 
 #include "iaupdatedialogutil.h"
@@ -83,8 +83,11 @@
 void IAUpdateDialogUtil::showAgreement(HbAction *primaryAction, HbAction *secondaryAction)
 {
     HbMessageBox *agreementDialog = new HbMessageBox(HbMessageBox::MessageTypeQuestion); 
+    HbLabel *label = new HbLabel(agreementDialog);
+    label->setHtml(QString("Disclaimer"));
+    agreementDialog->setHeadingWidget(label);
     agreementDialog->setIconVisible(false);
-    agreementDialog->setText("This application allows you to download and use applications and services provided by Nokia or third parties. Service Terms and Privacy Policy will apply. Nokia will not assume any liability or responsibility for the availability or third party applications or services. Before using the third party application or service, read the applicable terms of use.\n\nUse of this application involves transmission of data. Contact your network service provider for information about data transmission charges.\n\n(c) 2007-2010 Nokia. All rights reserved.");
+    agreementDialog->setText("This application allows you to download and use applications and services provided by Nokia or third parties. Service Terms and Privacy Policy will apply. Nokia will not assume any liability or responsibility for the availability or third party applications or services. Before using the third party application or service, read the applicable terms of use.<br /><br />Use of this application involves transmission of data. Contact your network service provider for information about data transmission charges.<br /><br />(c) 2007-2010 Nokia. All rights reserved.");
 
     int actionCount = agreementDialog->actions().count();
     for (int i=actionCount-1; i >= 0; i--)