homescreenapp/hsutils/src/hsimagefetcherclient.cpp
changeset 62 341166945d65
parent 51 4785f57bf3d4
--- a/homescreenapp/hsutils/src/hsimagefetcherclient.cpp	Thu Jun 24 13:11:40 2010 +0100
+++ b/homescreenapp/hsutils/src/hsimagefetcherclient.cpp	Fri Jun 25 19:19:22 2010 +0300
@@ -23,18 +23,20 @@
 #include <QVariant>
 #ifdef Q_OS_SYMBIAN
 #include <xqaiwinterfacedescriptor.h>
+#include <xqaiwdecl.h>
 #endif // Q_OS_SYMBIAN
 
-namespace
-{
-    const char gFetcherInterface[] = "image";
-    const char gFetcherOperation[] = "fetch(QVariantMap,QVariant)";
-}
-
 #ifdef COVERAGE_MEASUREMENT
 #pragma CTC SKIP
 #endif //COVERAGE_MEASUREMENT
 
+
+/*!
+    \class HsImageFetcherClient
+    \ingroup group_hsutils
+    \brief 
+*/
+
 // ---------------------------------------------------------------------------
 // ---------------------------------------------------------------------------
 //
@@ -74,13 +76,8 @@
         mReq = 0;
     }
 
-    mReq = mAppMgr.create(gFetcherInterface, gFetcherOperation, false);
-    if (mReq) {
-        QList<QVariant> args;
-        args << QVariantMap();
-        args << QVariant();
-        mReq->setArguments(args);
-        // Connect signals once
+    mReq = mAppMgr.create(XQI_IMAGE_FETCH, XQOP_IMAGE_FETCH, false);
+    if (mReq) {        
         connect(mReq, SIGNAL(requestOk(const QVariant&)), this, SLOT(handleOk(const QVariant&)));
         connect(mReq, SIGNAL(requestError(int,const QString&)), this, SLOT(handleError(int,const QString&)));
     } else {