Logo Search packages:      
Sourcecode: bangarang version File versions  Download package

int MediaItemModel::rowOfUrl ( const QString &  url  ) 

Return the row of a MediaItem whose url matches the one provided

Parameters:
url url to match
Returns:
row of model

Definition at line 110 of file mediaitemmodel.cpp.

Referenced by loadMediaList(), Playlist::playItemAt(), removeMediaItem(), Playlist::removeMediaItemAt(), and updateMediaItem().

{
    return m_urlList.indexOf(url);
}


Generated by  Doxygen 1.6.0   Back to index