searchui/stateproviders/searchstateprovider/inc/searchonlinestate.h
changeset 15 df6898e696c6
parent 13 0a2ec6860a93
equal deleted inserted replaced
13:0a2ec6860a93 15:df6898e696c6
    19 #include <qstate.h>
    19 #include <qstate.h>
    20 #include "search_global.h"
    20 #include "search_global.h"
    21 #include <hbicon.h>
    21 #include <hbicon.h>
    22 SEARCH_CLASS( SearchStateProviderTest)
    22 SEARCH_CLASS( SearchStateProviderTest)
    23 
    23 
    24 class HbDocumentLoader;
    24 class HbListWidget;
    25 class HbView;
    25 class HbView;
    26 class HbSearchPanel;
    26 class HbSearchPanel;
    27 class HbMainWindow;
    27 class HbMainWindow;
    28 class OnlineHandler;
    28 class OnlineHandler;
       
    29 class SearchUiLoader;
       
    30 
    29 /** @ingroup group_searchonlinestate
    31 /** @ingroup group_searchonlinestate
    30  * @brief The state handles wizard activation and interaction.
    32  * @brief The state handles wizard activation and interaction.
    31  *
    33  *
    32  * @see StateMachine
    34  * @see StateMachine
    33  *
    35  *
    76     /**
    78     /**
    77      * activates the signals .
    79      * activates the signals .
    78      * @since S60 ?S60_version.
    80      * @since S60 ?S60_version.
    79      */
    81      */
    80     void activateSignals();
    82     void activateSignals();
    81     
    83 
    82     void createui();
       
    83 public slots:
    84 public slots:
    84 
    85 
    85     /**
    86     /**
    86      * slot connects to search panel to initiate the online search
    87      * slot connects to search panel to initiate the online search
    87      * @since S60 ?S60_version.
    88      * @since S60 ?S60_version.
   172      * Own.
   173      * Own.
   173      */
   174      */
   174     HbSearchPanel* mSearchPanel;
   175     HbSearchPanel* mSearchPanel;
   175 
   176 
   176     /**
   177     /**
   177      * HbDocumentLoader instance.
   178      * The List View widget.    
   178      */
   179      */
   179     HbDocumentLoader* mDocumentLoader;
   180     HbListWidget* mListView;
   180 
   181 
   181     /**
   182     /**
   182      * OnlineHandler instance.
   183      * OnlineHandler instance.
   183      */
   184      */
   184     OnlineHandler* mInternetHandler;
   185     OnlineHandler* mInternetHandler;
       
   186 
       
   187     SearchUiLoader* mUiLoader;
   185 
   188 
   186     /**
   189     /**
   187      * search keyword.
   190      * search keyword.
   188      */
   191      */
   189     QString mSearchQuery;
   192     QString mSearchQuery;
   190     bool mSearchReady;
   193     bool mSearchReady;
   191     bool mIndeviceQueryAvailable;
   194     bool mIndeviceQueryAvailable;
   192     bool mIsUICreated;
   195    
   193     /**
   196     /**
   194      * friend class for unit testing
   197      * friend class for unit testing
   195      */
   198      */
   196     SEARCH_FRIEND_CLASS (SearchStateProviderTest)
   199     SEARCH_FRIEND_CLASS (SearchStateProviderTest)
   197     };
   200     };