videocollection/videocollectionwrapper/tsrc/testvideocollectionwrapper_p/stub/inc/videosortfilterproxymodel.h
changeset 62 0e1e938beb1a
parent 59 a76e86df7ccd
child 65 a9d57bd8d7b7
--- a/videocollection/videocollectionwrapper/tsrc/testvideocollectionwrapper_p/stub/inc/videosortfilterproxymodel.h	Thu Sep 02 20:28:16 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +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:   stub Videosortfilterproxymodel for VideoCollectionWrapperPrivate unit tests  
-* 
-*/
-
-#ifndef VIDEOSORTFILTERPROXYMODEL_H
-#define VIDEOSORTFILTERPROXYMODEL_H
-
-#include <qsortfilterproxymodel.h>
-#include <mpxitemid.h>
-
-class QTimer;
-class VideoListDataModel;
-class VideoCollectionClient;
-
-class VideoSortFilterProxyModel : public QObject 
-{
-    Q_OBJECT
-    
-signals:
-    
-    void shortDetailsReady(TMPXItemId);
-    
-public: 
-    
-    /**
-     * Contructor.
-     *
-     * @param parent parent of this widget
-     * @param client Collection client pointer to use.
-     */
-    VideoSortFilterProxyModel( int type, QObject *parent=0);
-    
-    /**
-     * Destructor.
-     *
-     */
-    virtual ~VideoSortFilterProxyModel();
-    
-    /**
-     * Initializes model, calls initialize to source model, and sets
-     * the given sourceModel as source model for this proxy model.
-     * 
-     * @param collection mpx video collectionobject
-     * @param sourceModel the source model
-     * 
-     * @return int: 0 if everything ok
-     */
-    int initialize(VideoListDataModel *sourceModel);
-    
-public:
- 
-    
-    /**
-     * sets gInitFails
-     * 
-     * @param bool
-     */
-    static void setInitFailure(bool fails);
-
-    
-    /**
-     * Pointer to the actual model.
-     * Not owned.
-     */
-    VideoListDataModel *mModel;
-    
-    /**
-     * type
-     */
-    int mType;
-
-};
-
-
-
-#endif  //VIDEOSORTFILTERPROXYMODEL_H