videocollection/videocollectionwrapper/tsrc/testvideosortfilterproxymodel/stub/src/videocollectionclient.cpp
changeset 36 8aed59de29f9
parent 34 bbb98528c666
child 50 21fe8338c6bf
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    32 TVcxMyVideosSortingOrder VideoCollectionClient::mSettedSortOrder = EVcxMyVideosSortingNone;
    32 TVcxMyVideosSortingOrder VideoCollectionClient::mSettedSortOrder = EVcxMyVideosSortingNone;
    33 int VideoCollectionClient::mSortOrderSetCount = 0;
    33 int VideoCollectionClient::mSortOrderSetCount = 0;
    34 QString VideoCollectionClient::mAddNewCollectionName = QString();
    34 QString VideoCollectionClient::mAddNewCollectionName = QString();
    35 QString VideoCollectionClient::mAddNewCollectionThumb = QString();
    35 QString VideoCollectionClient::mAddNewCollectionThumb = QString();
    36 QList<TMPXItemId> VideoCollectionClient::mAddNewCollectionIds = QList<TMPXItemId>();
    36 QList<TMPXItemId> VideoCollectionClient::mAddNewCollectionIds = QList<TMPXItemId>();
       
    37 int VideoCollectionClient::mRenameAlbumReturnValue = 0;
       
    38 int VideoCollectionClient::mBackReturnValue = 0;
    37 
    39 
    38 // -----------------------------------------------------------------------------
    40 // -----------------------------------------------------------------------------
    39 // VideoCollectionClient
    41 // VideoCollectionClient
    40 // -----------------------------------------------------------------------------
    42 // -----------------------------------------------------------------------------
    41 //
    43 //
   143 void VideoCollectionClient::getCategoryId(TMPXItemId &id)
   145 void VideoCollectionClient::getCategoryId(TMPXItemId &id)
   144 {
   146 {
   145     id.iId1 = 1;
   147     id.iId1 = 1;
   146     id.iId2 = 2;
   148     id.iId2 = 2;
   147 }
   149 }
       
   150 
   148 // -----------------------------------------------------------------------------
   151 // -----------------------------------------------------------------------------
   149 // back
   152 // back
   150 // -----------------------------------------------------------------------------
   153 // -----------------------------------------------------------------------------
   151 //
   154 //
   152 int VideoCollectionClient::back()
   155 int VideoCollectionClient::back()
   153 {
   156 {
   154     return 0;
   157     return mBackReturnValue;
   155 }
   158 }
   156 
   159 
       
   160 // -----------------------------------------------------------------------------
       
   161 // renameAlbum
       
   162 // -----------------------------------------------------------------------------
       
   163 //
       
   164 int VideoCollectionClient::renameAlbum(const TMPXItemId &albumId, const QString &newTitle)
       
   165 {
       
   166     Q_UNUSED(albumId);
       
   167     Q_UNUSED(newTitle);
       
   168     return mRenameAlbumReturnValue;
       
   169 }