homescreenapp/stateplugins/hshomescreenstateplugin/inc/hswallpaperselectionstate.h
changeset 96 458d8c8d9580
parent 60 30f14686fb04
equal deleted inserted replaced
92:6727c5d0afc7 96:458d8c8d9580
    25 
    25 
    26 class HsWallpaper;
    26 class HsWallpaper;
    27 class HsSpinnerDialog;
    27 class HsSpinnerDialog;
    28 
    28 
    29 #ifdef Q_OS_SYMBIAN
    29 #ifdef Q_OS_SYMBIAN
    30 class HsImageFetcherClient;
    30 class HsImageHandlingClient;
    31 #else
    31 #else
    32 class XQAIWGetImageClient;
    32 class XQAIWGetImageClient;
    33 #endif
    33 #endif
    34 
    34 
    35 class HsWallpaperSelectionState : public QState
    35 class HsWallpaperSelectionState : public QState
    49     Q_DISABLE_COPY(HsWallpaperSelectionState)        
    49     Q_DISABLE_COPY(HsWallpaperSelectionState)        
    50     void setupStates();
    50     void setupStates();
    51 
    51 
    52 private slots:    
    52 private slots:    
    53     void action_selectingImage_start();
    53     void action_selectingImage_start();
    54     void action_selectingImage_cleanup();
    54     void action_imageHandler_cleanup();
       
    55     void action_editingImage_start();
    55     void action_assigningImage_showWaitDialog();
    56     void action_assigningImage_showWaitDialog();
    56     void action_assigningImage_start();
    57     void action_assigningImage_start();
    57     void action_assigningImage_cleanup();
    58     void action_assigningImage_cleanup();
    58     void action_assigningImage_hideWaitDialog();
    59     void action_assigningImage_hideWaitDialog();
    59     void action_errorMessage_show();
    60     void action_errorMessage_show();
    60 
    61 
    61     void onFetchCompleted(const QString &imagePath);
    62     void onFetchCompleted(const QString &imagePath);
    62     void onFetchFailed(int errorCode, const QString &errorMessage);
    63     void onFetchFailed(int errorCode, const QString &errorMessage);
    63     void onImageSet();
    64     void onImageSet();
    64     void onImageSetFailed();
    65     void onImageSetFailed();
    65 
    66     void onEditorCompleted();
    66 private:    
    67 private:    
    67 #ifdef Q_OS_SYMBIAN
    68 #ifdef Q_OS_SYMBIAN
    68     HsImageFetcherClient *mImageFetcher;
    69     HsImageHandlingClient *mImageHandler;
    69 #else
    70 #else
    70     XQAIWGetImageClient *mImageFetcher;
    71     XQAIWGetImageClient *mImageHandler;
    71 #endif
    72 #endif
    72     QString mImagePath;
    73     QString mImagePath;
    73     HsWallpaper *mWallpaper;    
    74     HsWallpaper *mWallpaper;    
    74     HsSpinnerDialog *mWaitDialog;
    75     HsSpinnerDialog *mWaitDialog;
    75     
    76