searchui/stateproviders/searchstateprovider/inc/searchonlinestate.h
changeset 17 7d8c8d8f5eab
parent 12 993ab30e92fc
--- a/searchui/stateproviders/searchstateprovider/inc/searchonlinestate.h	Tue Jul 06 14:17:22 2010 +0300
+++ b/searchui/stateproviders/searchstateprovider/inc/searchonlinestate.h	Wed Aug 18 09:49:49 2010 +0300
@@ -21,11 +21,13 @@
 #include <hbicon.h>
 SEARCH_CLASS( SearchStateProviderTest)
 
-class HbDocumentLoader;
+class HbListWidget;
 class HbView;
 class HbSearchPanel;
 class HbMainWindow;
 class OnlineHandler;
+class SearchUiLoader;
+
 /** @ingroup group_searchonlinestate
  * @brief The state handles wizard activation and interaction.
  *
@@ -78,8 +80,7 @@
      * @since S60 ?S60_version.
      */
     void activateSignals();
-    
-    void createui();
+
 public slots:
 
     /**
@@ -154,6 +155,11 @@
      */
     void onlineSearchQuery(QString);
 
+    /**
+     * Signalled when UI is ready on online state        
+     */
+    void applicationReady();
+
 private:
     HbMainWindow* mMainWindow;
     /**
@@ -169,22 +175,24 @@
     HbSearchPanel* mSearchPanel;
 
     /**
-     * HbDocumentLoader instance.
+     * The List View widget.    
      */
-    HbDocumentLoader* mDocumentLoader;
+    HbListWidget* mListView;
 
     /**
      * OnlineHandler instance.
      */
     OnlineHandler* mInternetHandler;
 
+    SearchUiLoader* mUiLoader;
+
     /**
      * search keyword.
      */
     QString mSearchQuery;
     bool mSearchReady;
     bool mIndeviceQueryAvailable;
-    bool mIsUICreated;
+   
     /**
      * friend class for unit testing
      */