34
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: stub videocollectionviewutilsdata
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef VIDEOCOLLECTIONVIEWUTILSDATA_H
|
|
19 |
#define VIDEOCOLLECTIONVIEWUTILSDATA_H
|
|
20 |
|
|
21 |
#include <qnamespace.h>
|
35
|
22 |
#include <qvariant.h>
|
34
|
23 |
|
|
24 |
class VideoCollectionViewUtilsData
|
|
25 |
{
|
|
26 |
public: // methods
|
|
27 |
static void reset()
|
|
28 |
{
|
|
29 |
mLastError = 0;
|
|
30 |
mLoadSortingValuesFails = false;
|
|
31 |
mGetServiceIconStringsFails = false;
|
36
|
32 |
mVideoSortRole = -1;
|
|
33 |
mCollectionSortRole = -1;
|
|
34 |
mVideoSortOrder = Qt::AscendingOrder;
|
|
35 |
mCollectionSortOrder = Qt::AscendingOrder;
|
34
|
36 |
mIconString = "";
|
|
37 |
mPressedString = "";
|
35
|
38 |
mLastStatusAdditional = QVariant();
|
34
|
39 |
}
|
|
40 |
|
|
41 |
public: // data
|
|
42 |
static int mLastError;
|
|
43 |
static bool mLoadSortingValuesFails;
|
|
44 |
static bool mGetServiceIconStringsFails;
|
36
|
45 |
static int mVideoSortRole;
|
|
46 |
static int mCollectionSortRole;
|
|
47 |
static Qt::SortOrder mVideoSortOrder;
|
|
48 |
static Qt::SortOrder mCollectionSortOrder;
|
34
|
49 |
static QString mIconString;
|
|
50 |
static QString mPressedString;
|
35
|
51 |
static QVariant mLastStatusAdditional;
|
34
|
52 |
};
|
|
53 |
|
|
54 |
#endif /* VIDEOCOLLECTIONVIEWUTILSDATA_H */
|