homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hsviewappsettingsstate.h
changeset 46 23b5d6a29cce
parent 39 4e8ebe173323
child 69 87476091b3f5
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
    37 
    37 
    38     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
    38     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
    39 
    39 
    40 public:
    40 public:
    41 
    41 
    42     /**
       
    43      * Constructor.
       
    44      *
       
    45      * @since S60 ?S60_version.
       
    46      * @param parent Owner.
       
    47      */
       
    48     HsViewAppSettingsState(QState *parent = 0);
    42     HsViewAppSettingsState(QState *parent = 0);
    49 
    43 
    50     /**
       
    51      * Destructor.
       
    52      *
       
    53      * @since S60 ?S60_version.
       
    54      */
       
    55     virtual ~HsViewAppSettingsState();
    44     virtual ~HsViewAppSettingsState();
    56     
    45     
    57 private slots:
    46 private slots:
    58     
    47     
    59     /**
       
    60      * Slot connected trrigger action of secondary soft key of check list box.
       
    61      * It is called when done button is selected.
       
    62      *
       
    63      * @since S60 ?S60_version.
       
    64      */
       
    65     void settingsDone();
    48     void settingsDone();
    66     
    49     
    67 signals:
    50 signals:
    68         void initialize(const QString &aUid);      
    51         void initialize(const QString &aUid);      
       
    52     void exit();
    69 
    53 
    70 protected:
    54 protected:
    71 
    55 
    72     void onEntry(QEvent *event);
    56     void onEntry(QEvent *event);
       
    57     void onExit(QEvent *event);
    73 
    58 
    74 private:
    59 private:
    75 
    60 
    76     /**
       
    77      * Constructs contained objects.
       
    78      *
       
    79      * @since S60 ?S60_version.
       
    80      */
       
    81     void construct();
    61     void construct();
    82     
    62     
    83     /**
       
    84      * Returns pointer to tha main window.
       
    85      *
       
    86      * @since S60 ?S60_version.
       
    87      * @return Pointer to the main window.
       
    88      */
       
    89     HbMainWindow *mainWindow() const; 
    63     HbMainWindow *mainWindow() const; 
    90     
    64     
    91     void subscribeForMemoryCardRemove(int entryId);
    65     void subscribeForMemoryCardRemove(int entryId);
    92 
    66 
    93 private:
    67 private:
    94     /**
    68 
    95      * View. Owned.
       
    96      */
       
    97     HbView *mView;
    69     HbView *mView;
    98 
    70 
    99     /**
       
   100      * Previous view. Not owned.
       
   101      */
       
   102     HbView *mPreviousView;
    71     HbView *mPreviousView;
   103     
    72     
   104     /**
       
   105      * Confirm action. Owned.
       
   106      */
       
   107     HbAction *mActionConfirm;
    73     HbAction *mActionConfirm;
   108     
    74     
   109     CaNotifier *mNotifier;
    75     CaNotifier *mNotifier;
   110 
    76 
   111 };
    77 };