12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 #ifndef SEARCH_STATES_SETTINGS_H |
17 #ifndef SEARCH_STATES_SETTINGS_H |
19 #define SEARCH_STATES_SETTINGS_H |
18 #define SEARCH_STATES_SETTINGS_H |
20 |
|
21 #include <qstate.h> |
19 #include <qstate.h> |
22 #include <qabstractitemmodel.h> |
20 #include <qabstractitemmodel.h> |
23 #include "search_global.h" |
21 #include "search_global.h" |
24 |
22 #include <hbicon.h> |
25 SEARCH_CLASS( SearchStateProviderTest) |
23 SEARCH_CLASS( SearchStateProviderTest) |
26 |
24 |
27 class QGraphicsWidget; |
25 class QGraphicsWidget; |
28 class HbMainWindow; |
26 class HbMainWindow; |
29 class HbLabel; |
27 class HbLabel; |
83 */ |
81 */ |
84 void onExit(QEvent *event); |
82 void onExit(QEvent *event); |
85 |
83 |
86 private: |
84 private: |
87 |
85 |
88 |
|
89 /** |
86 /** |
90 * checking whether internet search is selected |
87 * checking whether internet search is selected |
91 * @since S60 ?S60_version. |
88 * @since S60 ?S60_version. |
92 */ |
89 */ |
93 |
90 |
94 void isInternetOn(); |
91 void isInternetOn(); |
95 public slots: |
92 public slots: |
96 /** |
93 /** |
97 * Called when it receive the selected category information from the settingwidget class |
94 * Called when it receive the selected category information from the settingwidget class |
98 * @since S60 ?S60_version. |
95 * @since S60 ?S60_version. |
99 */ |
96 */ |
100 |
97 |
101 void getItemCategory(int, bool); |
98 void getItemCategory(int, bool); |
102 |
99 |
103 /** |
100 /** |
104 * Signalled when back action is triggerd from toolbaar. |
101 * Signalled when back action is triggerd from toolbaar. |
105 * @since S60 ?S60_version. |
102 * @since S60 ?S60_version. |
106 */ |
103 */ |
107 void handleBackEvent(bool); |
104 void handleBackEvent(bool); |
108 |
105 |
|
106 void slotISProvidersIcon(HbIcon icon, int id); |
|
107 |
109 signals: |
108 signals: |
110 |
109 |
111 /** |
110 /** |
112 * Emitted when the menu state is to be activated. |
111 * Emitted when the menu state is to be activated. |
113 * @since S60 ?S60_version. |
112 * @since S60 ?S60_version. |
114 */ |
113 */ |
115 void backEventTriggered(); |
114 |
116 |
115 void switchToProState(); |
|
116 |
|
117 void settingslaunched(); |
|
118 |
117 /** |
119 /** |
118 * Emitted when ok/cancel clicked on settings page |
120 * Emitted when ok/cancel clicked on settings page |
119 * @since S60 ?S60_version. |
121 * @since S60 ?S60_version. |
120 */ |
122 */ |
121 void clickstatus(bool); |
123 void clickstatus(bool); |