/*
* 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 videosortfilterproxymodeldata
*
*/
#ifndef VIDEOSORTFILTERPROXYMODELDATA_H
#define VIDEOSORTFILTERPROXYMODELDATA_H
#include <qnamespace.h>
class VideoSortFilterProxyModelData
{
public: // methods
static void reset()
{
mOpenFails = false;
mSortRole = 0;
mSortOrder = Qt::AscendingOrder;
mSortAsync = false;
mDeleteItemsFails = true;
mRemoveAlbumsFails = true;
mDoSortingCallCount = 0;
mItemIds.clear();
mLastIndex = QModelIndex();
mLastItemId = TMPXItemId::InvalidId();
mOpenedItemId = TMPXItemId::InvalidId();
mDetailsReturnValue = 0;
mAddItemsInAlbumReturnValue = 0;
mRemoveItemsFromAlbumReturnValue = 0;
mGenericFilterId = TMPXItemId::InvalidId();
mGenericFilterValue = false;
mNewAlbumId = TMPXItemId::InvalidId();
}
public: // data
static bool mOpenFails;
static int mSortRole;
static Qt::SortOrder mSortOrder;
static bool mSortAsync;
static bool mDeleteItemsFails;
static bool mRemoveAlbumsFails;
static int mDoSortingCallCount;
static QList<TMPXItemId> mItemIds;
static QModelIndex mLastIndex;
static TMPXItemId mLastItemId;
static TMPXItemId mOpenedItemId;
static int mDetailsReturnValue;
static int mAddItemsInAlbumReturnValue;
static int mRemoveItemsFromAlbumReturnValue;
static TMPXItemId mGenericFilterId;
static bool mGenericFilterValue;
static TMPXItemId mNewAlbumId;
};
#endif /* VIDEOSORTFILTERPROXYMODEL_H */