messagingapp/msgui/msgapp/src/main.cpp
changeset 72 6f657153cbc5
parent 52 12db4185673b
--- a/messagingapp/msgui/msgapp/src/main.cpp	Fri Sep 17 08:28:39 2010 +0300
+++ b/messagingapp/msgui/msgapp/src/main.cpp	Mon Oct 04 00:13:15 2010 +0300
@@ -26,6 +26,7 @@
 
 #include "msgmainwindow.h"
 #include "msgactivityhandler.h"
+#include "msgapplication.h"
 
 //Localised constants
 #define LOC_TITLE hbTrId("txt_messaging_title_messaging")
@@ -96,7 +97,10 @@
     }
     
     // Application
-    HbApplication app(argc, argv);
+    //MsgApplication class dervied from HbApplication is create in order to 
+    //emit applicationReady signal for Matti tool
+    MsgApplication app(argc, argv);
+    
 
     //TODO: Uncomment the lines when actual translation files are available in sdk and remove loading locally.
     QString locale = QLocale::system().name();
@@ -140,6 +144,7 @@
      
     // Main window
     QPointer<MsgMainWindow> mainWindow = new MsgMainWindow(serviceRequest,activityMsgId);
+    app.initViewReady();
     // Set the main window pointer to activity handler.
     activityHandler->setMainWindow(mainWindow);
     mainWindow->show();