logsui/logsapp/src/main.cpp
changeset 17 90fe74753f71
parent 15 76d2cf7a585e
child 18 acd4e87b24b4
--- a/logsui/logsapp/src/main.cpp	Mon Aug 23 18:14:51 2010 +0300
+++ b/logsui/logsapp/src/main.cpp	Fri Sep 03 14:26:05 2010 +0300
@@ -15,6 +15,7 @@
 *
 */
 //USER
+#include "logsapplication.h"
 #include "logsmainwindow.h"
 #include "logsviewmanager.h"
 #include "logsservicehandler.h"
@@ -39,7 +40,7 @@
 {
     LOGS_QDEBUG( "logs [UI] -> main()" )
 
-    HbApplication app(argc, argv);
+    LogsApplication app(argc, argv);
 
 #ifdef LOGS_USE_QTRANSLATOR
     QString lang = QLocale::system().name();
@@ -63,6 +64,8 @@
 #endif
     
     LogsMainWindow window;
+    //Application ready signal is emitted after startup when UI is fully loaded and functional
+    QObject::connect( &window, SIGNAL(viewReady()), &app, SLOT(testLogsHandleAppViewReady()) );    
     HbStyleLoader::registerFilePath(":/logslayouts");
     
     // Create service handler asap so that services are published fast.