locationpickerservice/inc/locationpickerdatamanager_p.h
changeset 17 0f22fb80ebba
parent 15 13ae750350c9
child 20 cd10d5b85554
equal deleted inserted replaced
15:13ae750350c9 17:0f22fb80ebba
    39     
    39     
    40     // destructor
    40     // destructor
    41     ~LocationPickerDataManagerPrivate();
    41     ~LocationPickerDataManagerPrivate();
    42     
    42     
    43     // populates the model with data
    43     // populates the model with data
    44     bool populateModel( quint32 aCollectionId = 0 );
    44     bool populateModel( const Qt::Orientations aOrientation, quint32 aCollectionId = 0 );
    45     
    45     
    46     // gets the data pointed to by index and copies to the aValue
    46     // gets the data pointed to by index and copies to the aValue
    47     void getData(int index, quint32& aValue );
    47     void getData(int index, quint32& aValue );
    48     
    48     
    49     // gets the location item
    49     // gets the location item
    58     void populateCollectionsL();
    58     void populateCollectionsL();
    59     // gets the location item
    59     // gets the location item
    60     void getLocationItemL( quint32 aLmId, QLocationPickerItem &aItem );
    60     void getLocationItemL( quint32 aLmId, QLocationPickerItem &aItem );
    61 
    61 
    62 private:
    62 private:
    63 	
    63     Qt::Orientations mOrientation;
    64     QStandardItemModel *mModel;
    64     QStandardItemModel *mModel;
    65     TViewType mViewType;
    65     TViewType mViewType;
    66     CPosLmItemIterator* mIterator;
    66     CPosLmItemIterator* mIterator;
    67     CPosLandmarkDatabase* mLandmarkDb;
    67     CPosLandmarkDatabase* mLandmarkDb;
    68     CPosLmCategoryManager *mLmCategoryManager;
    68     CPosLmCategoryManager *mLmCategoryManager;