--- a/homescreenapp/hsutils/src/hsimagefetcherclient.cpp Fri Jun 11 13:30:16 2010 +0300
+++ b/homescreenapp/hsutils/src/hsimagefetcherclient.cpp Wed Jun 23 18:03:36 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 {