videocollection/tsrc/stubs/src/videoserviceurifetch.cpp
changeset 38 ff53afa8ad05
parent 34 bbb98528c666
child 28 c48470be1ba7
equal deleted inserted replaced
37:4eb2df7f7cbe 38:ff53afa8ad05
    16  */
    16  */
    17 
    17 
    18 #include "videoserviceurifetch.h"
    18 #include "videoserviceurifetch.h"
    19 #include "videoservices.h"
    19 #include "videoservices.h"
    20 
    20 
    21 VideoServiceUriFetch::VideoServiceUriFetch(VideoServices* parent):
    21 VideoServiceUriFetch::VideoServiceUriFetch(VideoServices* parent, QLatin1String service):
    22     XQServiceProvider("TestListView"),
    22     XQServiceProvider( service, parent ),
    23     mRequestIndex(0),
    23     mRequestIndex(0),
    24     mServiceApp(parent)
    24     mServiceApp(parent)
    25 {
    25 {
    26     // nop    
    26     // nop    
    27 }
    27 }
    59 {
    59 {
    60     // not stubbed
    60     // not stubbed
    61     return QString();
    61     return QString();
    62 }
    62 }
    63 
    63 
       
    64 void VideoServiceUriFetch::fetch()
       
    65 {
       
    66     mServiceApp->setCurrentService(VideoServices::EUriFetcher);
       
    67 }
       
    68 
    64 void VideoServiceUriFetch::fetch(const QString& title)
    69 void VideoServiceUriFetch::fetch(const QString& title)
    65 {
    70 {
    66     Q_UNUSED(title);
    71     Q_UNUSED(title);
    67     
    72     
    68     mServiceApp->setCurrentService(VideoServices::EUriFetcher);
    73     mServiceApp->setCurrentService(VideoServices::EUriFetcher);