equal
deleted
inserted
replaced
31 class QActionGroup; |
31 class QActionGroup; |
32 class HbAction; |
32 class HbAction; |
33 class HbGroupBox; |
33 class HbGroupBox; |
34 class HbLineEdit; |
34 class HbLineEdit; |
35 class HbListView; |
35 class HbListView; |
36 class HbSearchPanel; |
|
37 class HbToolBar; |
36 class HbToolBar; |
38 class HbView; |
37 class HbView; |
39 class HbWidget; |
38 class HbWidget; |
40 class HbToolBarExtension; |
39 class HbToolBarExtension; |
41 class HbPushButton; |
40 class HbPushButton; |
48 InvalidStateContext |
47 InvalidStateContext |
49 }; |
48 }; |
50 |
49 |
51 enum HsOperationalContext { |
50 enum HsOperationalContext { |
52 HsItemViewContext = 0, |
51 HsItemViewContext = 0, |
53 HsSearchContext, |
|
54 HsButtonContext, |
52 HsButtonContext, |
55 HsEmptyLabelContext, |
53 HsEmptyLabelContext, |
56 InvalidOperationalContext |
54 InvalidOperationalContext |
57 }; |
55 }; |
58 |
56 |
79 HbListView *currentListView(); |
77 HbListView *currentListView(); |
80 |
78 |
81 |
79 |
82 // optional widgets accessors |
80 // optional widgets accessors |
83 HbGroupBox *currentViewLabel(); |
81 HbGroupBox *currentViewLabel(); |
84 HbSearchPanel *currentSearchPanel(); |
|
85 HbPushButton *currentAddContentButton(); |
82 HbPushButton *currentAddContentButton(); |
86 |
83 |
87 |
84 |
88 void setStateContext(HsStateContext stateContext); |
85 void setStateContext(HsStateContext stateContext); |
89 void setOperationalContext(HsOperationalContext operationalContext); |
86 void setOperationalContext(HsOperationalContext operationalContext); |
102 QSharedPointer<HbDocumentLoader> currentLoader(); |
99 QSharedPointer<HbDocumentLoader> currentLoader(); |
103 |
100 |
104 |
101 |
105 QSet<QObject *> mLoadedObjects; |
102 QSet<QObject *> mLoadedObjects; |
106 |
103 |
107 const QString DOCUMENT_FILE_NAME; |
104 |
108 const QString ALL_APPS_ACTION_NAME; |
105 const QString ALL_APPS_ACTION_NAME; |
109 const QString ALL_COLLECTIONS_ACTION_NAME; |
106 const QString ALL_COLLECTIONS_ACTION_NAME; |
110 const QString SEARCH_ACTION_NAME; |
107 const QString SEARCH_ACTION_NAME; |
111 const QString OVI_STORE_ACTION_NAME; |
108 const QString OVI_STORE_ACTION_NAME; |
112 const QString OPERATOR_ACTION_NAME; |
109 const QString OPERATOR_ACTION_NAME; |
113 const QString SEARCH_PANEL_NAME; |
|
114 const QString BUTTON_NAME; |
|
115 const QString TOOL_BAR_NAME; |
|
116 |
110 |
117 QActionGroup *mToolBarActionGroup; |
111 QActionGroup *mToolBarActionGroup; |
118 HbToolBar *mToolBar; |
112 HbToolBar *mToolBar; |
119 HbToolBarExtension *mToolBarExtension; |
113 HbToolBarExtension *mToolBarExtension; |
120 HbAction *mToolBarExtensionAction; |
114 HbAction *mToolBarExtensionAction; |