videocollection/videocollectionwrapper/tsrc/testvideomodel/stub/inc/videolistdatamodel_p.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
   139      * @return QIcon
   139      * @return QIcon
   140      */
   140      */
   141     const QIcon* getVideoThumbnailFromIndex( int index ) const;
   141     const QIcon* getVideoThumbnailFromIndex( int index ) const;
   142    
   142    
   143     /**
   143     /**
       
   144      * return video count of the item at given index
       
   145      * 
       
   146      * @param index
       
   147      * @return quint32
       
   148      */
       
   149     quint32 VideoListDataModelPrivate::getCategoryVideoCountFromIndex( int index ) const;
       
   150     
       
   151     /**
   144      * return video size of the item at given index
   152      * return video size of the item at given index
   145      * 
   153      * 
   146      * @param index
   154      * @param index
   147      * @return quint32
   155      * @return quint32
   148      */
   156      */
   221     
   229     
   222     /**
   230     /**
   223      * returns mBelongsToAlbum;
   231      * returns mBelongsToAlbum;
   224      */
   232      */
   225     void setAlbumInUse(TMPXItemId albumId);
   233     void setAlbumInUse(TMPXItemId albumId);
       
   234     
       
   235     /**
       
   236      * returns mRemoveFrAlbumReturn
       
   237      */
       
   238     int removeItemsFromAlbum(TMPXItemId &albumId, const QList<TMPXItemId> &ids);
       
   239     
   226     
   240     
   227 private: // private methods
   241 private: // private methods
   228     
   242     
   229     /**
   243     /**
   230      * return id of given item
   244      * return id of given item
   348      * if true, initialize fails
   362      * if true, initialize fails
   349      */
   363      */
   350     static bool mFailInit;
   364     static bool mFailInit;
   351 
   365 
   352     /**
   366     /**
       
   367      * if true, size returned is mVideoCount
       
   368      */
       
   369     static bool mOverrideVideoCount;
       
   370     
       
   371     /**
       
   372      * override video count value
       
   373      */
       
   374     static quint32 mVideoCount;
       
   375     
       
   376     /**
   353      * if true, size returned is mSize
   377      * if true, size returned is mSize
   354      */
   378      */
   355     static bool mOverrideSize;
   379     static bool mOverrideSize;
   356     
   380     
   357     /**
   381     /**
   376     
   400     
   377     /**
   401     /**
   378      * value from belongsToAlbum to be returned
   402      * value from belongsToAlbum to be returned
   379      */
   403      */
   380     static bool mBelongsToAlbum;
   404     static bool mBelongsToAlbum;
       
   405     
       
   406     /**
       
   407      * value returned from removeItemsFromAlbum
       
   408      */
       
   409     static int mRemoveFrAlbumReturn;
   381     
   410     
   382 };
   411 };
   383 
   412 
   384 /**
   413 /**
   385  * dummy data wrapper class
   414  * dummy data wrapper class