equal
deleted
inserted
replaced
30 #include <glxattributeretriever.h> |
30 #include <glxattributeretriever.h> |
31 #include <glxuistd.h> |
31 #include <glxuistd.h> |
32 |
32 |
33 #include <textresolver.h> |
33 #include <textresolver.h> |
34 #include <hbmessagebox.h> |
34 #include <hbmessagebox.h> |
|
35 #include <hbnotificationdialog.h> |
35 #include <e32debug.h> |
36 #include <e32debug.h> |
36 #include <hbprogressdialog.h> |
37 #include <hbprogressdialog.h> |
37 #include "OstTraceDefinitions.h" |
38 #include "OstTraceDefinitions.h" |
38 #ifdef OST_TRACE_COMPILER_IN_USE |
39 #ifdef OST_TRACE_COMPILER_IN_USE |
39 #include "glxmpxcommandhandlerTraces.h" |
40 #include "glxmpxcommandhandlerTraces.h" |
363 // Resolve the error text |
364 // Resolve the error text |
364 const TDesC& text = textresolver->ResolveErrorString(aErrorCode); |
365 const TDesC& text = textresolver->ResolveErrorString(aErrorCode); |
365 |
366 |
366 QString qtText = QString::fromUtf16(text.Ptr(), text.Length()); |
367 QString qtText = QString::fromUtf16(text.Ptr(), text.Length()); |
367 |
368 |
368 HbMessageBox box(HbMessageBox::MessageTypeInformation); |
369 HbNotificationDialog::launchDialog(qtText); |
369 box.setText(qtText); |
|
370 box.exec(); |
|
371 CleanupStack::PopAndDestroy(textresolver); |
370 CleanupStack::PopAndDestroy(textresolver); |
372 OstTraceFunctionExit0( GLXMPXCOMMANDHANDLER_HANDLEERRORL_EXIT ); |
371 OstTraceFunctionExit0( GLXMPXCOMMANDHANDLER_HANDLEERRORL_EXIT ); |
373 } |
372 } |
374 |
373 |
375 void GlxMpxCommandHandler::CompletionNoteL() const |
374 void GlxMpxCommandHandler::CompletionNoteL() const |
376 { |
375 { |
377 QString displayText = CompletionTextL(); |
376 QString displayText = CompletionTextL(); |
378 if (!displayText.isNull()) |
377 if (!displayText.isNull()) |
379 { |
378 { |
380 HbMessageBox::information(displayText); |
379 HbNotificationDialog::launchDialog(displayText); |
381 } |
380 } |
382 } |
381 } |
383 |
382 |
384 QString GlxMpxCommandHandler::CompletionTextL() const |
383 QString GlxMpxCommandHandler::CompletionTextL() const |
385 { |
384 { |