equal
deleted
inserted
replaced
22 #include <HbGroupBox> |
22 #include <HbGroupBox> |
23 #include <HbListView> |
23 #include <HbListView> |
24 #include <HbMainWindow> |
24 #include <HbMainWindow> |
25 #include <HbInstance> |
25 #include <HbInstance> |
26 #include <HbSearchPanel> |
26 #include <HbSearchPanel> |
27 #include <HbPushButton> |
|
28 #include <HbToolBar> |
27 #include <HbToolBar> |
29 #include <HbView> |
28 #include <HbView> |
30 #include <HbToolBarExtension> |
29 #include <HbToolBarExtension> |
31 #include <HbShrinkingVkbHost> |
30 #include <HbShrinkingVkbHost> |
32 |
31 |
186 { |
185 { |
187 return mViewLabel; |
186 return mViewLabel; |
188 } |
187 } |
189 |
188 |
190 /*! |
189 /*! |
191 \return Collection button |
|
192 if available in the context or NULL otherwise. |
|
193 */ |
|
194 HbPushButton *HsMenuView::contentButton() const |
|
195 { |
|
196 return mAddContentButton; |
|
197 } |
|
198 |
|
199 /*! |
|
200 Makes search panel visible. |
190 Makes search panel visible. |
201 Equivalent to \a setSearchPanelVisible(true) |
191 Equivalent to \a setSearchPanelVisible(true) |
202 */ |
192 */ |
203 void HsMenuView::showSearchPanel() |
193 void HsMenuView::showSearchPanel() |
204 { |
194 { |
342 switchBuilderContext(); |
332 switchBuilderContext(); |
343 |
333 |
344 mView = mBuilder.currentView(); |
334 mView = mBuilder.currentView(); |
345 mListView = mBuilder.currentListView(); |
335 mListView = mBuilder.currentListView(); |
346 mViewLabel = mBuilder.currentViewLabel(); |
336 mViewLabel = mBuilder.currentViewLabel(); |
347 mAddContentButton = mBuilder.currentAddContentButton(); |
|
348 } |
337 } |
349 |
338 |
350 |
339 |
351 /*! |
340 /*! |
352 Slot. |
341 Slot. |