locationpickerservice/inc/locationpickercollectioncontent.h
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 31 8db05346071b
equal deleted inserted replaced
17:0f22fb80ebba 20:cd10d5b85554
    32     LocationPickerCollectionContent( Qt::Orientations aOrientation , quint32 aCollectionid );
    32     LocationPickerCollectionContent( Qt::Orientations aOrientation , 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 LocationPickerDataManager
    37     //get standard model
    38     LocationPickerDataManager* getDataManager();
    38     QStandardItemModel* getStandardModel();
    39 
    39     // gets the data pointed to by index and copies to the aValue
       
    40     void getData( QModelIndex aIndex, quint32& aValue );
       
    41     //return true if location entry is found
       
    42     bool locationFound();
    40 private:
    43 private:
    41     Qt::Orientations mOrientation;
    44     Qt::Orientations mOrientation;
    42     LocationPickerProxyModel *mProxyModel;
    45     LocationPickerProxyModel *mProxyModel;
    43     QStandardItemModel *mModel;
    46     QStandardItemModel *mModel;
    44     LocationPickerDataManager *mDataManager;
    47     LocationPickerDataManager *mDataManager;
       
    48     bool mLocationFound;
    45 };
    49 };
    46 
    50 
    47 #endif // LOCATIONPICKERCOLLECTIONCONTENT_H
    51 #endif // LOCATIONPICKERCOLLECTIONCONTENT_H