ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlereditimage.cpp
changeset 72 0a8e959402e5
parent 54 0f0f3f26f787
equal deleted inserted replaced
71:27f2d7aec52a 72:0a8e959402e5
    51     const QString service = QLatin1String("PhotoEditor");
    51     const QString service = QLatin1String("PhotoEditor");
    52     const QString interface = QLatin1String("com.nokia.symbian.imageeditor");
    52     const QString interface = QLatin1String("com.nokia.symbian.imageeditor");
    53     const QString operation = QLatin1String("view(QString,int)");
    53     const QString operation = QLatin1String("view(QString,int)");
    54     
    54     
    55     //Connect to service provider
    55     //Connect to service provider
    56     if(mReq == NULL)
    56     if( !mReq )
    57         {
    57         {
    58         mReq = mAppmgr.create(service, interface, operation, true);
    58         mReq = mAppmgr.create(service, interface, operation, true);
    59         mReq->setEmbedded(true);
       
    60         mReq->setSynchronous(false);
       
    61         }
    59         }
    62     
    60     
    63     if(mReq == NULL)
    61     if( !mReq )
    64         {
    62         {
    65         return;
    63         return;
    66         } 
    64         } 
       
    65 	mReq->setEmbedded(true);
       
    66 	mReq->setSynchronous(false);
    67     
    67     
    68     connect(mReq, SIGNAL(requestOk(const QVariant&)), this, SLOT(handleOk(const QVariant&)));
    68     connect(mReq, SIGNAL(requestOk(const QVariant&)), this, SLOT(handleOk(const QVariant&)));
    69     connect(mReq, SIGNAL(requestError(int,const QString&)), this, SLOT(handleError(int,const QString&)));
    69     connect(mReq, SIGNAL(requestError(int,const QString&)), this, SLOT(handleError(int,const QString&)));
    70 
    70 
    71     GlxModelParm modelParm(collectionId, 0);
    71     GlxModelParm modelParm(collectionId, 0);