videocollection/videocollectionwrapper/tsrc/testvideosortfilterproxymodel/stub/inc/videothumbnaildata.h
changeset 62 0e1e938beb1a
parent 59 a76e86df7ccd
child 65 a9d57bd8d7b7
--- a/videocollection/videocollectionwrapper/tsrc/testvideosortfilterproxymodel/stub/inc/videothumbnaildata.h	Thu Sep 02 20:28:16 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:   CVideoThumbnailData class definition*
-*/
-
-#ifndef __VIDEOTHUMBNAILDATA_H__
-#define __VIDEOTHUMBNAILDATA_H__
-
-// INCLUDES
-#include <qobject.h>
-#include <qhash.h>
-#include <qpair.h>
-#include <qicon.h>
-#include <qset.h>
-
-// FORWARD DECLARATIONS
-class VideoSortFilterProxyModel;
-
-class VideoThumbnailData : public QObject
-{
-    /**
-     * defined to be able to use signals and slots
-     */
-    Q_OBJECT
-    
-    /**
-     * disable copy-constructor and assignment operator
-     */
-	Q_DISABLE_COPY(VideoThumbnailData) 
-
-public: // Constructor
-
-    /* 
-     * Thumbnail fetch priorities
-     */
-    enum VideoThumbnailPriority
-    {
-        VideoThumbnailPriorityBackground = 2000,
-        VideoThumbnailPriorityLow = 5000,
-        VideoThumbnailPriorityMedium = 10000,
-        VideoThumbnailPriorityHigh = 2000 
-    };
-    
-    /**
-     * Returns singleton instance for this class.
-     *
-     * @return The singleton instance.
-     * 
-     */
-    static VideoThumbnailData &instance();
- 	
-    /**
-     * Starts background thumbnail fetching.
-     *
-     * @param fetchIndex index where to start the background thumbnail fetching.
-     *  
-     */
-    void startBackgroundFetching(VideoSortFilterProxyModel *model, int fetchIndex);
-    
-    /**
-     * Enables or disables thumbnail background fetching. Default is enabled.
-     * 
-     * @param enable true enables and false disables thumbnail background fetching.
-     */
-    void enableBackgroundFetching(bool enable);
-    
-    /**
-     * Frees allocated data for thumbnails and cancels ongoing fetches.
-     */
-    void freeThumbnailData();
-    
-private:
-    
-    /**
-     * Default constructor
-     */
-    VideoThumbnailData();  
-    
-    /**
-     * Destructor
-     */
-    ~VideoThumbnailData(); 
-    
-public:
-    static int mEnableBackgroundThumbnailFetchingCallCount;
-    static int mStartFetchingThumbnailsCallCount;
-    static int mStartFetchingThumbnailsThumbnailCount;
-    static int mInstanceCallCount;
-    static int mFreeThumbnailDataCallCount;
-    static int mBackgroundThumbnailFetchingEnabled;
-    static int mStartBackgroundFetchingCallCount;
-    
-private: // data
-    
-    
-};
-#endif  // __VIDEOTHUMBNAILDATA_H__
-
-// End of file