videocollection/tsrc/videoservicestestapp/src/videoservicestestappview.cpp
changeset 41 229f037ce963
parent 39 f6d44a0cd476
child 66 adb51f74b890
equal deleted inserted replaced
40:13331705e488 41:229f037ce963
   212     if (!mReq->send())
   212     if (!mReq->send())
   213     {
   213     {
   214         mErrorEdit->setText("Failed to send REQ");
   214         mErrorEdit->setText("Failed to send REQ");
   215         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
   215         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
   216     }
   216     }
       
   217     // req no longer needed, remove it
       
   218     delete mReq;
       
   219     mReq = 0;
   217 
   220 
   218     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
   221     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
   219 }
   222 }
   220 
   223 
   221 
   224 
   283         if (!mReq->send())
   286         if (!mReq->send())
   284         {
   287         {
   285             mErrorEdit->setText("Failed to send REQ");
   288             mErrorEdit->setText("Failed to send REQ");
   286             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
   289             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
   287         }
   290         }
       
   291         // req no longer needed, remove it
       
   292         delete mReq;
       
   293         mReq = 0;
   288     }
   294     }
   289 }
   295 }
   290 
   296 
   291 void VideoServicesTestAppView::fetchVideoDeprecatedOldService()
   297 void VideoServicesTestAppView::fetchVideoDeprecatedOldService()
   292 {
   298 {
   322     if (!mReq->send())
   328     if (!mReq->send())
   323     {
   329     {
   324         mErrorEdit->setText("Failed to send REQ");
   330         mErrorEdit->setText("Failed to send REQ");
   325         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
   331         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
   326     }
   332     }
       
   333     // req no longer needed, remove it
       
   334     delete mReq;
       
   335     mReq = 0;
   327 
   336 
   328     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
   337     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
   329 }
   338 }
   330 
   339 
   331 void VideoServicesTestAppView::fetchVideoDeprecatedNewService()
   340 void VideoServicesTestAppView::fetchVideoDeprecatedNewService()
   362     if (!mReq->send())
   371     if (!mReq->send())
   363     {
   372     {
   364         mErrorEdit->setText("Failed to send REQ");
   373         mErrorEdit->setText("Failed to send REQ");
   365         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
   374         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
   366     }
   375     }
   367 
   376     // req no longer needed, remove it
       
   377     delete mReq;
       
   378     mReq = 0;
   368     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
   379     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
   369 }
   380 }
   370 
   381 
   371 
   382 
   372 void VideoServicesTestAppView::browseCapturedVideosDeprecatedOldService()
   383 void VideoServicesTestAppView::browseCapturedVideosDeprecatedOldService()
   430         if (!mReq->send())
   441         if (!mReq->send())
   431         {
   442         {
   432             mErrorEdit->setText("Failed to send REQ");
   443             mErrorEdit->setText("Failed to send REQ");
   433             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
   444             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
   434         }
   445         }
       
   446         // req no longer needed, remove it
       
   447         delete mReq;
       
   448         mReq = 0;
   435     }
   449     }
   436 }
   450 }
   437 
   451 
   438 void VideoServicesTestAppView::browseCapturedVideosDeprecatedNewService()
   452 void VideoServicesTestAppView::browseCapturedVideosDeprecatedNewService()
   439 {
   453 {
   496         if (!mReq->send())
   510         if (!mReq->send())
   497         {
   511         {
   498             mErrorEdit->setText("Failed to send REQ");
   512             mErrorEdit->setText("Failed to send REQ");
   499             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
   513             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
   500         }
   514         }
       
   515         // req no longer needed, remove it
       
   516         delete mReq;
       
   517         mReq = 0;
   501     }
   518     }
   502 }
   519 }
   503 
   520 
   504 // end of file
   521 // end of file