videocollection/tsrc/stubs/src/videoservices.cpp
changeset 37 4eb2df7f7cbe
parent 36 8aed59de29f9
child 24 7d93ee07fb27
equal deleted inserted replaced
36:8aed59de29f9 37:4eb2df7f7cbe
    65 }
    65 }
    66 
    66 
    67 VideoServices::VideoServices(QVideoPlayerEngine* engine):
    67 VideoServices::VideoServices(QVideoPlayerEngine* engine):
    68     mReferenceCount(0),
    68     mReferenceCount(0),
    69     mEngine(engine),
    69     mEngine(engine),
    70     mCurrentService(VideoServices::ENoService)
    70     mCurrentService(VideoServices::ENoService),
       
    71     mSortRole(0)
    71 {
    72 {
    72     mServiceUriFetch = new VideoServiceUriFetch(this);
    73     mServiceUriFetch = new VideoServiceUriFetch(this);
    73     mServiceBrowse = new VideoServiceBrowse(this);
    74     mServiceBrowse = new VideoServiceBrowse(this);
    74 }
    75 }
    75 
    76 
    98 
    99 
    99 void VideoServices::setCurrentService(VideoServices::TVideoService service)
   100 void VideoServices::setCurrentService(VideoServices::TVideoService service)
   100 {
   101 {
   101 	mCurrentService = service;
   102 	mCurrentService = service;
   102 }
   103 }
       
   104 
   103 QString VideoServices::contextTitle() const
   105 QString VideoServices::contextTitle() const
   104 {
   106 {
   105     // not stubbed
   107     // not stubbed
   106     return QString();
   108     return QString();
       
   109 }
       
   110 
       
   111 int VideoServices::sortRole() const
       
   112 {
       
   113     // not stubbed
       
   114     return mSortRole;
   107 }
   115 }
   108 
   116 
   109 void VideoServices::itemSelected(const QString& item)
   117 void VideoServices::itemSelected(const QString& item)
   110 {
   118 {
   111     Q_UNUSED(item);
   119     Q_UNUSED(item);