videocollection/videocollectionview/inc/videolistwidget.h
changeset 20 b9e04db066d4
parent 17 69946d1824c4
child 24 7d93ee07fb27
--- a/videocollection/videocollectionview/inc/videolistwidget.h	Mon May 03 12:32:50 2010 +0300
+++ b/videocollection/videocollectionview/inc/videolistwidget.h	Fri May 14 15:53:50 2010 +0300
@@ -149,6 +149,23 @@
      */
     void fileUri(const QString&);
 
+public slots:
+    
+    /**
+     * Signaled by HbInputDialog when it's closed. 
+     */
+    void renameDialogFinished(HbAction *action);
+    
+    /**
+     * Signaled by HbMessageBox when it's closed.
+     */
+    void deleteItemDialogFinished(HbAction *action);
+    
+    /**
+     * Signaled by HbMessageBox when it's closed.
+     */
+    void removeCollectionDialogFinished(HbAction *action);
+
 protected slots:
     
     /**
@@ -208,6 +225,12 @@
      * Calls emitActivated for actually axecuting the functionality
      */
     void openItemSlot();
+    
+    /**
+     * Signaled when item's play functionality is initialized from context menu.
+     * Calls doActivateItem for actually executing the functionality.
+     */
+    void playItemSlot();
 
     /**
      * slot is connected to view's doDelayeds -signal
@@ -267,7 +290,8 @@
         EActionRemoveCollection,
         EActionRename,
     	EActionPlay,
-    	EActionOpen
+    	EActionOpen,
+    	EActionAttach
     };
 
     /**
@@ -311,6 +335,14 @@
     void setNavigationAction();
     
     /**
+     * Does the actual emitActivated functionality. Called from either emitActivated or
+     * openItemSlot.
+     * 
+     * @param index Index of the item.
+     */
+    void doEmitActivated (const QModelIndex &index);
+
+    /**
      * handles single item activation. Either from 
      * user's single tap or from default action at context menu.
      *