videocollection/tsrc/stubs/inc/videocollectionviewutilsdata.h
changeset 15 cf5481c2bc0b
child 17 69946d1824c4
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     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>
       
    22 #include <qvariant.h>
       
    23 
       
    24 class VideoCollectionViewUtilsData
       
    25 {
       
    26 public: // methods
       
    27     static void reset()
       
    28     {
       
    29         mLastError = 0;
       
    30         mLoadSortingValuesFails = false;
       
    31         mGetServiceIconStringsFails = false;
       
    32         mSortRole = 0;
       
    33         mSortOrder = Qt::AscendingOrder;
       
    34         mIconString = "";
       
    35         mPressedString = "";
       
    36         mLastStatusAdditional = QVariant();
       
    37     }   
       
    38     
       
    39 public: // data
       
    40     static int mLastError;
       
    41     static bool mLoadSortingValuesFails;
       
    42     static bool mGetServiceIconStringsFails;
       
    43     static int mSortRole;
       
    44     static Qt::SortOrder mSortOrder;
       
    45     static QString mIconString;
       
    46     static QString mPressedString;
       
    47     static QVariant mLastStatusAdditional;
       
    48 };
       
    49 
       
    50 #endif /* VIDEOCOLLECTIONVIEWUTILSDATA_H */