homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsaddtohomescreenstate.h
changeset 90 3ac3aaebaee5
parent 81 7dd137878ff8
equal deleted inserted replaced
86:e4f038c420f7 90:3ac3aaebaee5
    17 
    17 
    18 
    18 
    19 #ifndef HSADDSHORTCUTSTATE_H
    19 #ifndef HSADDSHORTCUTSTATE_H
    20 #define HSADDSHORTCUTSTATE_H
    20 #define HSADDSHORTCUTSTATE_H
    21 
    21 
       
    22 #include <QScopedPointer>
    22 #include <QState>
    23 #include <QState>
    23 #include <QVariant>
    24 #include <QVariant>
    24 
    25 
    25 #include "hsmenustates_global.h"
    26 #include "hsmenustates_global.h"
    26 #include "hsapp_defs.h"
    27 #include "hsapp_defs.h"
    31 class HbAction;
    32 class HbAction;
    32 class HbMessageBox;
    33 class HbMessageBox;
    33 class CaEntry;
    34 class CaEntry;
    34 class CaNotifier;
    35 class CaNotifier;
    35 class HsContentService;
    36 class HsContentService;
    36 
    37 class HsDialogController;
    37 
    38 
    38 class HsAddToHomeScreenState: public  QState
    39 class HsAddToHomeScreenState: public  QState
    39 {
    40 {
    40     Q_OBJECT
    41     Q_OBJECT
    41 
    42 
    51 
    52 
    52     void onEntry(QEvent *event);
    53     void onEntry(QEvent *event);
    53 
    54 
    54     void cleanUp();
    55     void cleanUp();
    55 
    56 
    56     void messageWidgetCorruptedFinished(HbAction* finishedAction);
    57     void openHomeScreen();
       
    58 
       
    59     void removeWidget();
    57 
    60 
    58 signals:
    61 signals:
    59 
    62 
    60     void exit();
    63     void exit();
    61 
    64 
    76 
    79 
    77     // keep path in memory so it wont
    80     // keep path in memory so it wont
    78     QString mLibraryPath;
    81     QString mLibraryPath;
    79 
    82 
    80     int mEntryId;
    83     int mEntryId;
    81 
       
    82     HbMessageBox *mCorruptedMessage;
       
    83 
       
    84     QAction *mConfirmAction;
       
    85     
    84     
    86     Hs::HsMenuMode mMenuMode;
    85     Hs::HsMenuMode mMenuMode;
    87     
    86     
    88     QVariant mToken;
    87     QVariant mToken;
    89 
    88