ui/commandhandlers/commandhandlerbase/src/glxmpxcommandhandler.cpp
changeset 26 c499df2dbb33
parent 24 99ad1390cd33
child 29 2c833fc9e98f
--- a/ui/commandhandlers/commandhandlerbase/src/glxmpxcommandhandler.cpp	Fri Apr 16 14:58:46 2010 +0300
+++ b/ui/commandhandlers/commandhandlerbase/src/glxmpxcommandhandler.cpp	Mon May 03 12:31:32 2010 +0300
@@ -32,6 +32,7 @@
 
 #include <textresolver.h>
 #include <hbmessagebox.h>
+#include <hbnotificationdialog.h>
 #include <e32debug.h>
 #include <hbprogressdialog.h>
 #include "OstTraceDefinitions.h"
@@ -365,9 +366,7 @@
 
     QString qtText = QString::fromUtf16(text.Ptr(), text.Length());
 
-    HbMessageBox box(HbMessageBox::MessageTypeInformation);
-    box.setText(qtText);
-    box.exec();
+	HbNotificationDialog::launchDialog(qtText);
     CleanupStack::PopAndDestroy(textresolver);
     OstTraceFunctionExit0( GLXMPXCOMMANDHANDLER_HANDLEERRORL_EXIT );
     }
@@ -377,7 +376,7 @@
     QString displayText = CompletionTextL();
     if (!displayText.isNull())
         {
-        HbMessageBox::information(displayText);
+		HbNotificationDialog::launchDialog(displayText);
         }
     }