37 class CCoeControl; |
37 class CCoeControl; |
38 class CAknSearchField; |
38 class CAknSearchField; |
39 class CWmPortalButton; |
39 class CWmPortalButton; |
40 class CWmWidgetLoaderAo; |
40 class CWmWidgetLoaderAo; |
41 class CWmMainContainerView; |
41 class CWmMainContainerView; |
|
42 class CWmConfiguration; |
42 |
43 |
43 /** |
44 /** |
44 * Container class for WmMainContainer |
45 * Container class for WmMainContainer |
45 * |
46 * |
46 * @class CWmMainContainer WmMainContainer.h |
47 * @class CWmMainContainer WmMainContainer.h |
216 */ |
217 */ |
217 void HandlePointerEventL( const TPointerEvent& aPointerEvent ); |
218 void HandlePointerEventL( const TPointerEvent& aPointerEvent ); |
218 |
219 |
219 /** |
220 /** |
220 * Moves focus to the OVI button |
221 * Moves focus to the OVI button |
221 */ |
222 * @param aIndex 0=first button, 1=second (if it exists) |
222 void SetFocusToOviButton(); |
223 */ |
|
224 void SetFocusToPortalButton( TInt aIndex ); |
223 |
225 |
224 /** |
226 /** |
225 * Moves focus to the widgets list, alternatively also setting the currently |
227 * Moves focus to the widgets list, alternatively also setting the currently |
226 * selected item. |
228 * selected item. |
227 * @param aIndex the item in widgets list to highlight during setting focus. |
229 * @param aIndex the item in widgets list to highlight during setting focus. |
238 |
240 |
239 /* |
241 /* |
240 * To set iClosingDown. See above. |
242 * To set iClosingDown. See above. |
241 */ |
243 */ |
242 void SetClosingDown( TBool aClosingDown ); |
244 void SetClosingDown( TBool aClosingDown ); |
|
245 |
|
246 /** |
|
247 * access to WM configuration |
|
248 */ |
|
249 CWmConfiguration& Configuration(); |
243 |
250 |
244 protected: // from base class CCoeControl |
251 protected: // from base class CCoeControl |
245 |
252 |
246 /** |
253 /** |
247 * Sets the control's extent, specifying a rectangle. |
254 * Sets the control's extent, specifying a rectangle. |
281 void AddControlL( CCoeControl* aControl, TInt aControlId ); |
288 void AddControlL( CCoeControl* aControl, TInt aControlId ); |
282 void InitializeControlsL( const TRect& aRect ); |
289 void InitializeControlsL( const TRect& aRect ); |
283 void LayoutControls(); |
290 void LayoutControls(); |
284 void StartLoadingWidgetsL(); |
291 void StartLoadingWidgetsL(); |
285 void RemoveCtrlsFromStack(); |
292 void RemoveCtrlsFromStack(); |
|
293 void UpdateFocusMode(); |
|
294 CCoeControl* FindChildControlByPoint( const TPoint& aPoint ); |
|
295 void HandleFindSizeChanged(); |
286 TKeyResponse MoveFocusByKeys( |
296 TKeyResponse MoveFocusByKeys( |
287 const TKeyEvent& aKeyEvent, |
297 const TKeyEvent& aKeyEvent, |
288 TEventCode aType ); |
298 TEventCode aType ); |
289 void UpdateFocusMode(); |
299 TKeyResponse HandleButtonKeyEventL( |
290 CCoeControl* FindChildControlByPoint( const TPoint& aPoint ); |
300 const TKeyEvent& aKeyEvent, |
291 void HandleFindSizeChanged(); |
301 TEventCode aType ); |
292 void FetchRepositoryDataL(); |
302 TKeyResponse HandleListKeyEventL( |
293 |
303 const TKeyEvent& aKeyEvent, |
|
304 TEventCode aType ); |
|
305 TKeyResponse HandleSearchKeyEventL( |
|
306 const TKeyEvent& aKeyEvent, |
|
307 TEventCode aType ); |
294 private: |
308 private: |
295 |
309 |
296 /** |
310 /** |
297 * the plugin root |
311 * the plugin root |
298 */ |
312 */ |