homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsmenuworkerstate.cpp
changeset 55 03646e8da489
parent 51 4785f57bf3d4
child 60 30f14686fb04
equal deleted inserted replaced
51:4785f57bf3d4 55:03646e8da489
    19 
    19 
    20 #include "hsaddtohomescreenstate.h"
    20 #include "hsaddtohomescreenstate.h"
    21 #include "hsaddappstocollectionstate.h"
    21 #include "hsaddappstocollectionstate.h"
    22 #include "hsdeletecollectionstate.h"
    22 #include "hsdeletecollectionstate.h"
    23 #include "hsdeletecollectionitemstate.h"
    23 #include "hsdeletecollectionitemstate.h"
       
    24 #include "hsuninstallitemstate.h"
    24 #include "hsmenuworkerstate.h"
    25 #include "hsmenuworkerstate.h"
    25 #include "hscollectionnamestate.h"
    26 #include "hscollectionnamestate.h"
    26 #include "hsarrangestate.h"
    27 #include "hsarrangestate.h"
    27 #include "hspreviewhswidgetstate.h"
    28 #include "hspreviewhswidgetstate.h"
    28 #include "hsviewappsettingsstate.h"
    29 #include "hsviewappsettingsstate.h"
    73     createChildState<HsAddToHomeScreenState> (HsMenuEvent::AddToHomeScreen);
    74     createChildState<HsAddToHomeScreenState> (HsMenuEvent::AddToHomeScreen);
    74     createChildState<HsDeleteCollectionState> (
    75     createChildState<HsDeleteCollectionState> (
    75         HsMenuEvent::DeleteCollection);
    76         HsMenuEvent::DeleteCollection);
    76     createChildState<HsDeleteCollectionItemState> (
    77     createChildState<HsDeleteCollectionItemState> (
    77         HsMenuEvent::RemoveAppFromCollection);
    78         HsMenuEvent::RemoveAppFromCollection);
       
    79     createChildState<HsUninstallItemState> (
       
    80         HsMenuEvent::UninstallApplication);
    78     createChildState<HsArrangeState> (HsMenuEvent::ArrangeCollection);
    81     createChildState<HsArrangeState> (HsMenuEvent::ArrangeCollection);
    79 
    82 
    80     // create a new child state based on the template
    83     // create a new child state based on the template
    81     HsCollectionNameState *newChildState = new HsCollectionNameState(this);
    84     HsCollectionNameState *newChildState = new HsCollectionNameState(this);
    82     // create a transition to the new child state which will be triggered by
    85     // create a transition to the new child state which will be triggered by