videocollection/videocollectionview/inc/videolistwidget.h
changeset 37 4eb2df7f7cbe
parent 36 8aed59de29f9
child 38 ff53afa8ad05
equal deleted inserted replaced
36:8aed59de29f9 37:4eb2df7f7cbe
   147     /**
   147     /**
   148      * signal is connected to service's itemSelected -slot
   148      * signal is connected to service's itemSelected -slot
   149      */
   149      */
   150     void fileUri(const QString&);
   150     void fileUri(const QString&);
   151 
   151 
       
   152 public slots:
       
   153     
       
   154     /**
       
   155      * Signaled by HbInputDialog when it's closed. 
       
   156      */
       
   157     void renameDialogFinished(HbAction *action);
       
   158     
       
   159     /**
       
   160      * Signaled by HbMessageBox when it's closed.
       
   161      */
       
   162     void deleteItemDialogFinished(HbAction *action);
       
   163     
       
   164     /**
       
   165      * Signaled by HbMessageBox when it's closed.
       
   166      */
       
   167     void removeCollectionDialogFinished(HbAction *action);
       
   168 
   152 protected slots:
   169 protected slots:
   153     
   170     
   154     /**
   171     /**
   155      * Signaled by the fw when item is long pressed.
   172      * Signaled by the fw when item is long pressed.
   156      * Popup menu for the particular item is opened.
   173      * Popup menu for the particular item is opened.
   206     /**
   223     /**
   207      * Signaled when item's default functionality is initialized from context menu.
   224      * Signaled when item's default functionality is initialized from context menu.
   208      * Calls emitActivated for actually axecuting the functionality
   225      * Calls emitActivated for actually axecuting the functionality
   209      */
   226      */
   210     void openItemSlot();
   227     void openItemSlot();
       
   228     
       
   229     /**
       
   230      * Signaled when item's play functionality is initialized from context menu.
       
   231      * Calls doActivateItem for actually executing the functionality.
       
   232      */
       
   233     void playItemSlot();
   211 
   234 
   212     /**
   235     /**
   213      * slot is connected to view's doDelayeds -signal
   236      * slot is connected to view's doDelayeds -signal
   214      *
   237      *
   215      */
   238      */
   265         EActionRemove,
   288         EActionRemove,
   266         EActionAddToCollection,
   289         EActionAddToCollection,
   267         EActionRemoveCollection,
   290         EActionRemoveCollection,
   268         EActionRename,
   291         EActionRename,
   269     	EActionPlay,
   292     	EActionPlay,
   270     	EActionOpen
   293     	EActionOpen,
       
   294     	EActionAttach
   271     };
   295     };
   272 
   296 
   273     /**
   297     /**
   274      * Method creates popup menu for list items.
   298      * Method creates popup menu for list items.
   275      *
   299      *
   308     /**
   332     /**
   309      * Set navigation action.
   333      * Set navigation action.
   310      */
   334      */
   311     void setNavigationAction();
   335     void setNavigationAction();
   312     
   336     
       
   337     /**
       
   338      * Does the actual emitActivated functionality. Called from either emitActivated or
       
   339      * openItemSlot.
       
   340      * 
       
   341      * @param index Index of the item.
       
   342      */
       
   343     void doEmitActivated (const QModelIndex &index);
       
   344 
   313     /**
   345     /**
   314      * handles single item activation. Either from 
   346      * handles single item activation. Either from 
   315      * user's single tap or from default action at context menu.
   347      * user's single tap or from default action at context menu.
   316      * 
   348      * 
   317      * @param index of item
   349      * @param index of item