emailuis/nmhswidget/src/nmhswidgetemailengine.cpp
changeset 72 64e38f08e49c
parent 54 997a02608b3a
child 75 47d84de1c893
equal deleted inserted replaced
65:478bc57ad291 72:64e38f08e49c
   456             if (mAiwRequest) {
   456             if (mAiwRequest) {
   457                 connect(mAiwRequest, SIGNAL( requestError(int, const QString&) ), 
   457                 connect(mAiwRequest, SIGNAL( requestError(int, const QString&) ), 
   458                         this, SLOT( aiwRequestError(int, const QString&) ));
   458                         this, SLOT( aiwRequestError(int, const QString&) ));
   459                 connect(mAiwRequest, SIGNAL( requestOk(const QVariant&) ), 
   459                 connect(mAiwRequest, SIGNAL( requestOk(const QVariant&) ), 
   460                         this, SLOT( aiwRequestOk(const QVariant&) ));
   460                         this, SLOT( aiwRequestOk(const QVariant&) ));
   461                 QList<QVariant> list;
   461 
   462                 list.append(QVariant(mMailboxId.id()));
   462                 QList<QVariant> argList;
   463                 list.append(QVariant(mFolderId.id()));
   463                 QList<QVariant> messageIdList;
   464                 list.append(QVariant(messageId.id()));
   464                 messageIdList.append(QVariant(mMailboxId.id()));
       
   465                 messageIdList.append(QVariant(mFolderId.id()));
       
   466                 messageIdList.append(QVariant(messageId.id()));
       
   467                 argList.append(messageIdList);
   465             
   468             
   466                 mAiwRequest->setSynchronous(false);
   469                 mAiwRequest->setSynchronous(false);
   467                 mAiwRequest->setArguments(list);
   470                 mAiwRequest->setArguments(argList);
   468                 mAiwRequest->send();
   471                 mAiwRequest->send();
   469             }
   472             }
   470         }
   473         }
   471     }
   474     }
   472     QT_CATCH(...){
   475     QT_CATCH(...){