--- a/messagingapp/msgui/msgapp/src/main.cpp Tue Sep 14 22:54:56 2010 +0530
+++ b/messagingapp/msgui/msgapp/src/main.cpp Fri Sep 17 20:01:45 2010 +0530
@@ -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();