201039 PDK_4.0.a
authorhgs
Fri, 01 Oct 2010 17:11:20 +0800
changeset 50 024e23fdab18
parent 46 9c0410731f74
child 53 01c62bde3a2a
201039
userguide/inc/HelpCategoryView.h
userguide/src/BrowserWrapper.cpp
userguide/src/HelpCategoryView.cpp
--- a/userguide/inc/HelpCategoryView.h	Fri Sep 03 18:26:41 2010 +0800
+++ b/userguide/inc/HelpCategoryView.h	Fri Oct 01 17:11:20 2010 +0800
@@ -37,6 +37,10 @@
 private:
 	void initDocMl();
 	void initAllList();
+	
+signals:
+    // Automation is using MATTI tool and to do performance measuring we need signals as measuring point.
+    void applicationReady();
 
 private:
 	void expandCollapseAllList(QStandardItem* item, bool expand);
--- a/userguide/src/BrowserWrapper.cpp	Fri Sep 03 18:26:41 2010 +0800
+++ b/userguide/src/BrowserWrapper.cpp	Fri Oct 01 17:11:20 2010 +0800
@@ -38,12 +38,7 @@
 
 void BrowserWrapper::init()
 {
-#ifdef Q_OS_SYMBIAN
-    WRT::WrtController* wrtController = new WRT::WrtController(this, WRT::GraphicsWebView);
-    mWebView = wrtController->graphicsWebView();
-#else
 	mWebView = new QGraphicsWebView();
-#endif
     mWebView->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
     mWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff);
     mWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff);
--- a/userguide/src/HelpCategoryView.cpp	Fri Sep 03 18:26:41 2010 +0800
+++ b/userguide/src/HelpCategoryView.cpp	Fri Oct 01 17:11:20 2010 +0800
@@ -51,6 +51,7 @@
 {
 	initDocMl();
     initAllList();
+    emit applicationReady();
 }
 
 void HelpCategoryView::initDocMl()