mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallview/stub/src/mpmpxcollectiondata.cpp
changeset 55 f3930dda3342
parent 51 560ce2306a17
equal deleted inserted replaced
51:560ce2306a17 55:f3930dda3342
    29       mMediaSet(false),
    29       mMediaSet(false),
    30       mContext(ECollectionContextUnknown),
    30       mContext(ECollectionContextUnknown),
    31       mCount(0),
    31       mCount(0),
    32       mCurrentAlbumIndex(-1),
    32       mCurrentAlbumIndex(-1),
    33       mCurrentAlbumAvailable(false),
    33       mCurrentAlbumAvailable(false),
    34       mReturnCollectionTitle(true)
    34       mReturnCollectionTitle(true),
       
    35       mArbitraryAlbumSongId(0),
       
    36       mAlbumSongProperty(false)
    35 {
    37 {
    36 }
    38 }
    37 
    39 
    38 /*!
    40 /*!
    39  Stub function.
    41  Stub function.
    95 }
    97 }
    96 
    98 
    97 /*!
    99 /*!
    98  Stub function.
   100  Stub function.
    99 */
   101 */
       
   102 int MpMpxCollectionData::albumSongId(int index)
       
   103 {
       
   104     Q_UNUSED(index);
       
   105     return mArbitraryAlbumSongId;
       
   106 }
   100 bool MpMpxCollectionData::hasAlbumSongProperty( int index, MpMpxCollectionData:: DataProperty type ) const
   107 bool MpMpxCollectionData::hasAlbumSongProperty( int index, MpMpxCollectionData:: DataProperty type ) const
   101 {
   108 {
   102 
   109     Q_UNUSED(index);
       
   110     Q_UNUSED(type);
       
   111     return mAlbumSongProperty;
   103 }
   112 }
   104 
   113 
   105 /*!
   114 /*!
   106  Stub function.
   115  Stub function.
   107 */
   116 */