videocollection/videocollectionwrapper/tsrc/testvideomodel_p/stub/src/videodatacontainer.cpp
changeset 55 4bfa887905cf
parent 50 21fe8338c6bf
equal deleted inserted replaced
50:21fe8338c6bf 55:4bfa887905cf
   158 
   158 
   159 // -----------------------------------------------------------------------------
   159 // -----------------------------------------------------------------------------
   160 // idFromIndex
   160 // idFromIndex
   161 // -----------------------------------------------------------------------------
   161 // -----------------------------------------------------------------------------
   162 //
   162 //
   163 TMPXItemId& VideoDataContainer::idFromIndex(const int &index) const
   163 const TMPXItemId& VideoDataContainer::idFromIndex(const int &index) const
   164 {
   164 {
   165     if(index >= 0 && index < mMediaIds.count())
   165     if(index >= 0 && index < mMediaIds.count())
   166     {
   166     {
   167         return mMediaIds[index];
   167         return mMediaIds[index];
   168     }
   168     }