homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsmenuviewbuilder.h
changeset 98 e6f74eb7f69f
parent 97 66b5fe3c07fd
equal deleted inserted replaced
97:66b5fe3c07fd 98:e6f74eb7f69f
    30 
    30 
    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 HbAbstractItemView;
    36 class HbToolBar;
    36 class HbToolBar;
    37 class HbView;
    37 class HbView;
    38 class HbWidget;
    38 class HbWidget;
    39 class HbToolBarExtension;
    39 class HbToolBarExtension;
    40 
    40 
    47 };
    47 };
    48 
    48 
    49 enum HsOperationalContext {
    49 enum HsOperationalContext {
    50     HsItemViewContext = 0,
    50     HsItemViewContext = 0,
    51     HsEmptyLabelContext,
    51     HsEmptyLabelContext,
       
    52     HsGridPortraitContext,
       
    53     HsGridLandscapeContext,
    52     InvalidOperationalContext
    54     InvalidOperationalContext
    53 };
    55 };
    54 
    56 
    55 HS_STATES_TEST_CLASS(MenuStatesTest)
    57 HS_STATES_TEST_CLASS(MenuStatesTest)
    56 
    58 
    71     HbToolBarExtension *toolBarExtension() const;
    73     HbToolBarExtension *toolBarExtension() const;
    72     HbAction *toolBarExtensionAction() const;
    74     HbAction *toolBarExtensionAction() const;
    73 
    75 
    74     // mandatory context dependent widgets accessors
    76     // mandatory context dependent widgets accessors
    75     HbView *currentView();
    77     HbView *currentView();
    76     HbListView *currentListView();
    78     HbAbstractItemView *currentAbstractItemView();
    77 
    79 
    78 
    80 
    79     // optional widgets accessors
    81     // optional widgets accessors
    80     HbGroupBox *currentViewLabel();
    82     HbGroupBox *currentViewLabel();
    81 
    83