videocollection/videocollectionwrapper/inc/videosortfilterproxymodel.h
changeset 55 4bfa887905cf
parent 50 21fe8338c6bf
equal deleted inserted replaced
50:21fe8338c6bf 55:4bfa887905cf
   242 	 */
   242 	 */
   243     VideoCollectionCommon::TModelType getType();
   243     VideoCollectionCommon::TModelType getType();
   244     
   244     
   245 signals:
   245 signals:
   246 
   246 
   247 
       
   248     /**
   247     /**
   249     * Signal to be emitted if detail fetching started ok
   248     * Signal to be emitted if detail fetching started ok
   250     * 
   249     * 
   251     * @param index, index of the item
   250     * @param index, index of the item
   252     */ 
   251     */ 
   257      * loaded from myvideoscollection.
   256      * loaded from myvideoscollection.
   258      */
   257      */
   259     void modelReady();
   258     void modelReady();
   260     
   259     
   261     /**
   260     /**
   262      * notifies that model's physical data structure has changed:
   261      * Notifies that model's physical data structure has changed:
   263      * - item inserted
   262      * - item inserted
   264      * - item removed 
   263      * - item removed 
   265      */
   264      */
   266     void modelChanged();
   265     void modelChanged();
   267  
   266  
       
   267     /**
       
   268      * Notifies that model has been sorted.
       
   269      */
       
   270     void modelSorted();
       
   271 
   268 protected: // from QSortFilterProxyModel
   272 protected: // from QSortFilterProxyModel
   269     
   273     
   270     /**
   274     /**
   271      * Compares items based in the role setted before sorting.
   275      * Compares items based in the role setted before sorting.
   272      *  
   276      *