--- a/videocollection/videocollectionview/inc/videolistwidget.h Fri Jun 11 09:44:20 2010 +0300
+++ b/videocollection/videocollectionview/inc/videolistwidget.h Thu Jun 24 09:49:13 2010 +0300
@@ -69,12 +69,12 @@
* layout and activates correct view based on the current orientation
*
* @param model Model for this list view.
- * @param videoservices
+ * @param isService, flag indicating app service status
* @param level presetted level for the widget
* @return int 0 initialization ok, < 0 if fails.
*/
int initialize(VideoSortFilterProxyModel &model,
- VideoServices* videoServices = 0,
+ bool isService = false,
VideoCollectionCommon::TCollectionLevels level = VideoCollectionCommon::ELevelInvalid);
/**
@@ -148,7 +148,7 @@
* @param true if opened, false if closed.
* @param optional name string
*/
- void collectionOpened(bool, const QString&, const QModelIndex&);
+ void collectionOpened(bool, const QString&, const TMPXItemId&);
/**
* signal is connected to service's itemSelected -slot
@@ -243,6 +243,12 @@
*
*/
void back();
+
+ /**
+ * connected to navi -quit action triggered signal.
+ * Signals fileUri with empty path for servicing to be completed
+ */
+ void endVideoFecthingSlot();
/**
* Signaled when view scrolling starts, pauses thumbnail creation.
@@ -278,7 +284,7 @@
*
*/
void fetchThumbnailsForVisibleItems();
-
+
private:
enum TContextActionIds
@@ -307,9 +313,9 @@
void setContextMenu();
/**
- * Method sets correct popup menu during browsing service.
+ * Method sets correct popup menu for service.
*/
- void setBrowsingServiceContextMenu();
+ void setServiceContextMenu();
/**
* Method connects signals needed by the widget
@@ -325,11 +331,6 @@
void disConnectSignals();
/**
- * Return if this is a browsing service.
- */
- bool isBrowsingService() const;
-
- /**
* Set navigation action.
*/
void setNavigationAction();
@@ -359,7 +360,8 @@
QPointer<VideoSortFilterProxyModel> mModel;
/**
- * pointer to videoservices instance
+ * pointer to videoservices instance. If exists,
+ * app has started as service.
*/
VideoServices* mVideoServices;
@@ -379,11 +381,6 @@
*/
bool mSignalsConnected;
- /**
- * Boolean for knowing when the app was started as a service.
- */
- bool mIsService;
-
/**
* Navigation softkey action.
*/