videocollection/videocollectionwrapper/tsrc/testvideomodel/stub/inc/videolistdatamodel_p.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 38 ff53afa8ad05
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    94 
    94 
    95     /**
    95     /**
    96      * Not emitted from here but had to be defined in order to 
    96      * Not emitted from here but had to be defined in order to 
    97      * get stub into use to testable object 
    97      * get stub into use to testable object 
    98      */
    98      */
    99     void videoDetailsReady(TMPXItemId index);
    99     void videoDetailsReady(QVariant&);
   100 
   100 
   101     
   101     
   102 public: // services
   102 public: // services
   103 
   103 
   104     /**
   104     /**
   179      * @return QDateTime
   179      * @return QDateTime
   180      */
   180      */
   181     QDateTime getVideoDateFromIndex( int index ) const;
   181     QDateTime getVideoDateFromIndex( int index ) const;
   182    
   182    
   183     /**
   183     /**
   184      * Returns the metadata for the video.
       
   185      * 
       
   186      * @param index: item position where client wants the date from.
       
   187      * @return QMap map of the QVariants that hold the data. Keys defined 
       
   188      *      in VideoCollectionCommon
       
   189      */
       
   190     QMap<QString, QVariant> getMetaDataFromIndex(int index) const;
       
   191       
       
   192     /**
       
   193      * Returns video status
   184      * Returns video status
   194      * 
   185      * 
   195      * @param index: item position where client wants the date from.
   186      * @param index: item position where client wants the date from.
   196      * 
   187      * 
   197      * @return int status code
   188      * @return int status code
   301     
   292     
   302     /**
   293     /**
   303      * not used in stub
   294      * not used in stub
   304      * 
   295      * 
   305      */
   296      */
   306     void videoDetailsCompletedSlot(TMPXItemId videoId);
   297     void videoDetailsCompletedSlot(CMPXMedia* media);
   307     
   298     
   308     /**
   299     /**
   309      * not used in stub
   300      * not used in stub
   310      */
   301      */
   311     void albumListAvailableSlot(TMPXItemId albumId, CMPXMediaArray *albumItems);
   302     void albumListAvailableSlot(TMPXItemId albumId, CMPXMediaArray *albumItems);
       
   303     
       
   304     /**
       
   305      * not used in stub
       
   306      */
       
   307     void itemModifiedSlot(const TMPXItemId &itemId);    
   312     
   308     
   313     /**
   309     /**
   314      * not used in stub
   310      * not used in stub
   315      */
   311      */
   316     void albumRemoveFailureSlot(QList<TMPXItemId> *items);
   312     void albumRemoveFailureSlot(QList<TMPXItemId> *items);