homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h
changeset 36 cdae8c6c3876
parent 35 f9ce957a272c
child 39 4e8ebe173323
--- a/homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h	Fri Mar 19 09:27:44 2010 +0200
+++ b/homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h	Fri Apr 16 14:54:01 2010 +0300
@@ -11,7 +11,7 @@
 *
 * Contributors:
 *
-* Description:  SelectBackground gui state.
+* Description:
 *
 */
 
@@ -24,10 +24,9 @@
 
 HOMESCREEN_TEST_CLASS(HomeScreenStatePluginTest)
 
+class QImage;
 class HbView;
-class HsContentService;
 class XQAIWGetImageClient;
-class QImage;
 
 class HsSelectBackgroundState : public QState
 {
@@ -41,16 +40,18 @@
     void event_waitInput();
 
 private:
+    Q_DISABLE_COPY(HsSelectBackgroundState)
     bool saveImage(QImage &image, const QString &path, Qt::Orientation orientation);
 
 private slots:
-    void selectPageBackgroundAction();
-    void disconnectImageFetcherAction();
-    void onBackgroundImageFetched(QStringList);
-    void onBackgroundImageFetchFailed(int);
+    void action_selectWallpaper();
+    void action_disconnectImageFetcher();
+
+    void onFetchComplete(QStringList imageStringList);
+    void onFetchFailed(int error);
 
 private:
-    XQAIWGetImageClient *mXQAIWGetImageClient;
+    XQAIWGetImageClient *mImageFetcher;
     HbView *mSourceView;
 
     HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)