locationpickerservice/inc/locationpickercollectionlistcontent.h
branchRCL_3
changeset 17 1fc85118c3ae
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
       
     1 /*
       
     2 * Copyright (c) 2010 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: LocationPickerCollectionListContent declaration
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LOCATIONPICKERCOLLECTIONLISTCONTENT_H
       
    19 #define LOCATIONPICKERCOLLECTIONLISTCONTENT_H
       
    20 
       
    21 class QStandardItemModel;
       
    22 class LocationPickerDataManager;
       
    23 
       
    24 /**  
       
    25  * Class for handling Collections content of location picker
       
    26  */
       
    27 class LocationPickerCollectionListContent : public QObject
       
    28 {
       
    29 public:
       
    30 
       
    31     // constructor
       
    32     LocationPickerCollectionListContent();
       
    33 
       
    34     // destructor
       
    35     ~LocationPickerCollectionListContent();
       
    36     //get standard model
       
    37     QStandardItemModel* getStandardModel();
       
    38     // gets the data pointed to by index and copies to the aValue
       
    39     void getData( QModelIndex aIndex, quint32& aValue );
       
    40 
       
    41 private:
       
    42     //standard Item Model
       
    43     QStandardItemModel *mModel;
       
    44     //datamanager
       
    45     LocationPickerDataManager *mDataManager;
       
    46 };
       
    47 
       
    48 #endif // LOCATIONPICKERCOLLECTIONLISTCONTENT_H