videocollection/videocollectionview/inc/videolistselectiondialog.h
changeset 50 21fe8338c6bf
parent 40 13331705e488
child 58 d2b028fd1f7d
--- a/videocollection/videocollectionview/inc/videolistselectiondialog.h	Fri Jul 23 11:10:06 2010 +0300
+++ b/videocollection/videocollectionview/inc/videolistselectiondialog.h	Fri Aug 06 09:43:48 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
      */