locationpickerservice/inc/locationpickercollectioncontent.h
changeset 31 8db05346071b
parent 20 cd10d5b85554
equal deleted inserted replaced
30:96df3ab41000 31:8db05346071b
    27  */
    27  */
    28 class LocationPickerCollectionContent : public QObject
    28 class LocationPickerCollectionContent : public QObject
    29 {
    29 {
    30 public:
    30 public:
    31     // constructor
    31     // constructor
    32     LocationPickerCollectionContent( Qt::Orientations aOrientation , quint32 aCollectionid );
    32     LocationPickerCollectionContent( quint32 aCollectionid );
    33     //Destructor
    33     //Destructor
    34     ~LocationPickerCollectionContent();
    34     ~LocationPickerCollectionContent();
    35     //get proxy model
    35     //get proxy model
    36     LocationPickerProxyModel* getProxyModel();
    36     LocationPickerProxyModel* getProxyModel();
    37     //get standard model
       
    38     QStandardItemModel* getStandardModel();
       
    39     // gets the data pointed to by index and copies to the aValue
    37     // gets the data pointed to by index and copies to the aValue
    40     void getData( QModelIndex aIndex, quint32& aValue );
    38     void getData( QModelIndex aIndex, quint32& aValue );
    41     //return true if location entry is found
    39     //return true if location entry is found
    42     bool locationFound();
    40     bool locationFound();
    43 private:
    41 private:
    44     Qt::Orientations mOrientation;
       
    45     LocationPickerProxyModel *mProxyModel;
    42     LocationPickerProxyModel *mProxyModel;
    46     QStandardItemModel *mModel;
    43     QStandardItemModel *mModel;
    47     LocationPickerDataManager *mDataManager;
    44     LocationPickerDataManager *mDataManager;
    48     bool mLocationFound;
    45     bool mLocationFound;
    49 };
    46 };