18 #ifndef SEARCH_STATES_SETTINGS_H |
18 #ifndef SEARCH_STATES_SETTINGS_H |
19 #define SEARCH_STATES_SETTINGS_H |
19 #define SEARCH_STATES_SETTINGS_H |
20 |
20 |
21 #include <qstate.h> |
21 #include <qstate.h> |
22 #include <qabstractitemmodel.h> |
22 #include <qabstractitemmodel.h> |
23 #include "Search_global.h" |
23 #include "search_global.h" |
24 |
24 |
25 SEARCH_CLASS( SearchStateProviderTest) |
25 SEARCH_CLASS( SearchStateProviderTest) |
26 |
26 |
27 class QGraphicsWidget; |
27 class QGraphicsWidget; |
28 class HbMainWindow; |
28 class HbMainWindow; |
29 class HbLabel; |
29 class HbLabel; |
30 class HbStackedWidget; |
30 class HbStackedWidget; |
31 class HbView; |
31 class HbView; |
32 class HbDocumentLoader; |
32 class HbDocumentLoader; |
33 class HbAction; |
33 class HbAction; |
34 class HbGridView; |
|
35 class QGraphicsLinearLayout; |
34 class QGraphicsLinearLayout; |
36 class SettingsWidget; |
35 class SettingsWidget; |
37 |
36 |
38 /** @ingroup group_searchstateprovider |
37 /** @ingroup group_searchstateprovider |
39 * @brief The state handles wizard activation and interaction. |
38 * @brief The state handles wizard activation and interaction. |
84 */ |
83 */ |
85 void onExit(QEvent *event); |
84 void onExit(QEvent *event); |
86 |
85 |
87 private: |
86 private: |
88 |
87 |
|
88 |
89 /** |
89 /** |
90 * Returns the main window handle. |
90 * checking whether internet search is selected |
91 * @since S60 ?S60_version. |
|
92 * @return The pointer to the main window. |
|
93 */ |
|
94 // HbMainWindow* mainWindow(); |
|
95 |
|
96 /** |
|
97 * Connects signals and slots for active wizard. |
|
98 * @since S60 ?S60_version. |
91 * @since S60 ?S60_version. |
99 */ |
92 */ |
100 |
93 |
101 void isInternetOn(); |
94 void isInternetOn(); |
102 public slots: |
95 public slots: |
|
96 /** |
|
97 * Called when it receive the selected category information from the settingwidget class |
|
98 * @since S60 ?S60_version. |
|
99 */ |
103 |
100 |
104 void getItemCategory(int, bool); |
101 void getItemCategory(int, bool); |
105 |
102 |
106 /** |
103 /** |
107 * Signalled when back action is triggerd from toolbaar. |
104 * Signalled when back action is triggerd from toolbaar. |
108 * @since S60 ?S60_version. |
105 * @since S60 ?S60_version. |
109 */ |
106 */ |
110 void handleBackEvent(bool); |
107 void handleBackEvent(bool); |
111 |
108 |
112 /** |
|
113 * Function to customize the progressive state. |
|
114 * @since S60 ?S60_version. |
|
115 */ |
|
116 // void customizeGoButton(); |
|
117 signals: |
109 signals: |
118 |
110 |
119 /** |
111 /** |
120 * Emitted when the menu state is to be activated. |
112 * Emitted when the menu state is to be activated. |
121 * @since S60 ?S60_version. |
113 * @since S60 ?S60_version. |