qtinternetradio/ui/inc/irfavoritesview.h
changeset 5 0930554dc389
parent 3 ee64f059b8e1
child 8 3b03c28289e6
--- a/qtinternetradio/ui/inc/irfavoritesview.h	Fri May 14 15:43:29 2010 +0300
+++ b/qtinternetradio/ui/inc/irfavoritesview.h	Thu May 27 12:46:34 2010 +0300
@@ -20,6 +20,7 @@
 #include "irabstractlistviewbase.h"
 #include "irqevent.h"
 
+class HbSelectionDialog;
 class IRFavoritesModel;
 class IRQPreset;
 
@@ -37,13 +38,14 @@
     TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason);
     
 private slots:
-    void clearAllFavorites();        
+    void deleteFavorites();        
     void networkRequestNotified(IRQNetworkEvent aEvent);    
     void convertAnother();
     void presetLogoDownload(IRQPreset* aPreset);
     void presetLogoDownloadError();	
     void modelChanged();
     void actionClicked(HbAction *aAction);
+    void deleteDialogClosed(HbAction *aAction);
     
 private:
     //from IrAbstractListViewBase
@@ -55,6 +57,7 @@
     void deleteContextAction();
     void renameContextAction();
     void detailsContextAction();
+    void updateIconIndexArray();
     
     //from base view 
     void listViewLongPressed(HbAbstractViewItem *aItem, const QPointF& aCoords);
@@ -68,7 +71,8 @@
 private:
     
     IRFavoritesModel  *iModel;
-    HbAction          *iClearFavoriteAction;
+    HbSelectionDialog *iMultiDeleteDialog;
+    HbAction          *iMultiDeleteAction;
     //the following are used to support the img
     QList<int>         iIconIndexArray;
     IRQPreset         *iLogoPreset;