videocollection/videocollectionview/inc/videolistselectiondialog.h
changeset 20 b9e04db066d4
parent 17 69946d1824c4
child 46 adbe7d5ba2f5
equal deleted inserted replaced
17:69946d1824c4 20:b9e04db066d4
    87      * Shows modal dialog build from the provided Videolistwidget.
    87      * Shows modal dialog build from the provided Videolistwidget.
    88      *
    88      *
    89      */
    89      */
    90     void exec();
    90     void exec();
    91     
    91     
       
    92     /**
       
    93      * Signaled by HbInputDialog when it's closed.
       
    94      */
       
    95     void newAlbumNameDialogFinished(HbAction *action);    
       
    96     
    92 private slots:
    97 private slots:
    93     
    98     
    94     /**
    99     /**
    95      * Slot connected to mCheckBox's stateChanged -signal. 
   100      * Slot connected to mCheckBox's stateChanged -signal. 
    96      * Selects or deselects all items if mForcedCheck -flag is false.
   101      * Selects or deselects all items if mForcedCheck -flag is false.
   181      * @return QString item's name
   186      * @return QString item's name
   182      */
   187      */
   183     QString getSelectedName();
   188     QString getSelectedName();
   184     
   189     
   185     /**
   190     /**
   186      * opens an input dialog for a user to input new album name
   191      * Finalizes the operation.
   187      * If everything goes well and user accepts, method returns new album name and
   192      */
   188      * saves album id into mSelectedAlbumId
   193     void finalize(QString albumName = "");
   189      * 
       
   190      * @return QString new name or empty string in case of error or cancel
       
   191      */
       
   192     QString queryNewAlbumSelected();
       
   193     
   194     
   194 private:
   195 private:
   195    
   196    
   196     /**
   197     /**
   197      * docml UI loader, not owned
   198      * docml UI loader, not owned
   232      * counter label from docml
   233      * counter label from docml
   233      */
   234      */
   234     HbLabel *mItemCount;
   235     HbLabel *mItemCount;
   235     
   236     
   236     /**
   237     /**
       
   238      * checkbox label from docml
       
   239      */
       
   240     HbLabel *mCheckBoxText;
       
   241     
       
   242     /**
   237      * mark all checkbox
   243      * mark all checkbox
   238      */
   244      */
   239     HbCheckBox *mCheckBox;
   245     HbCheckBox *mCheckBox;
   240     
   246     
   241     /**
   247     /**