videocollection/videocollectionview/inc/videolistselectiondialog.h
changeset 52 e3cecb93e76a
parent 46 adbe7d5ba2f5
child 62 0e1e938beb1a
--- a/videocollection/videocollectionview/inc/videolistselectiondialog.h	Tue Jul 06 14:17:50 2010 +0300
+++ b/videocollection/videocollectionview/inc/videolistselectiondialog.h	Wed Aug 18 09:50:14 2010 +0300
@@ -128,15 +128,16 @@
     void singleItemSelectedSlot(const QModelIndex &index); 
     
     /**
-     * handles model ready signal from model.
-     * In case dialog type is ESelectCollection and there are no data
-     * in model, opens up a selection dialog for user to input new album name
-     * In case type is something else than ESelectCollection, calls
-     * updateCounterSlot()
+     * Handles model ready signal from model.
      */
     void modelReadySlot();
     
     /**
+     * Handles album list ready signal from model.
+     */
+    void albumListReadySlot();
+    
+    /**
      * Changes the counter value. Sets the checkbutton state based on selection count.
      *
      */
@@ -266,6 +267,16 @@
      */
     VideoSortFilterProxyModel *mModel;
     
+    /**
+     * Boolean to know if the model is ready or not. 
+     */
+    bool mModelReady;
+    
+    /**
+     * Boolean to know if album list is ready or not.
+     */
+    bool mAlbumListReady;
+    
     /** 
      * List widget to show in selection
      */