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>
|
39
|
23 |
#include "videocollectioncommon.h"
|
34
|
24 |
|
50
|
25 |
#define CENREP_NO_STRING "nostring"
|
|
26 |
#define CENREP_NO_INT 1010100512
|
|
27 |
|
34
|
28 |
class VideoCollectionViewUtilsData
|
|
29 |
{
|
|
30 |
public: // methods
|
|
31 |
static void reset()
|
|
32 |
{
|
|
33 |
mLastError = 0;
|
58
|
34 |
mIsServiceValue = false;
|
34
|
35 |
mLoadSortingValuesFails = false;
|
36
|
36 |
mVideoSortRole = -1;
|
|
37 |
mCollectionSortRole = -1;
|
|
38 |
mVideoSortOrder = Qt::AscendingOrder;
|
|
39 |
mCollectionSortOrder = Qt::AscendingOrder;
|
34
|
40 |
mIconString = "";
|
|
41 |
mPressedString = "";
|
35
|
42 |
mLastStatusAdditional = QVariant();
|
41
|
43 |
mWidgetLevel = VideoCollectionCommon::ELevelVideos;
|
|
44 |
mActivityCollectionId = TMPXItemId::InvalidId();
|
|
45 |
mActivityCollectionName = "";
|
44
|
46 |
mCenRepStringValues.clear();
|
|
47 |
mCenRepIntValues.clear();
|
34
|
48 |
}
|
|
49 |
|
|
50 |
public: // data
|
|
51 |
static int mLastError;
|
58
|
52 |
static bool mIsServiceValue;
|
|
53 |
static bool mLoadSortingValuesFails;
|
36
|
54 |
static int mVideoSortRole;
|
|
55 |
static int mCollectionSortRole;
|
|
56 |
static Qt::SortOrder mVideoSortOrder;
|
|
57 |
static Qt::SortOrder mCollectionSortOrder;
|
34
|
58 |
static QString mIconString;
|
|
59 |
static QString mPressedString;
|
35
|
60 |
static QVariant mLastStatusAdditional;
|
39
|
61 |
static VideoCollectionCommon::TCollectionLevels mWidgetLevel;
|
41
|
62 |
static TMPXItemId mActivityCollectionId;
|
|
63 |
static QString mActivityCollectionName;
|
44
|
64 |
static QList<QString> mCenRepStringValues;
|
|
65 |
static QList<int> mCenRepIntValues;
|
34
|
66 |
};
|
|
67 |
|
|
68 |
#endif /* VIDEOCOLLECTIONVIEWUTILSDATA_H */
|