locationpickerservice/inc/locationpickerdatamanager_p.h
changeset 31 8db05346071b
parent 30 96df3ab41000
equal deleted inserted replaced
30:96df3ab41000 31:8db05346071b
    37     // destructor
    37     // destructor
    38     ~LocationPickerDataManagerPrivate();
    38     ~LocationPickerDataManagerPrivate();
    39     
    39     
    40     // populates the model with data
    40     // populates the model with data
    41     bool populateModel( QStandardItemModel &aModel, TViewType aViewType, 
    41     bool populateModel( QStandardItemModel &aModel, TViewType aViewType, 
    42             const Qt::Orientations aOrientation, quint32 aCollectionId = 0 );
    42             quint32 aCollectionId = 0 );
    43     
    43     
    44     // gets the location item
    44     // gets the location item
    45     void getLocationItem( quint32 aLmId, QLocationPickerItem &aItem );
    45     void getLocationItem( quint32 aLmId, QLocationPickerItem &aItem );
    46 
    46 
    47 private:
    47 private:
    49     bool populateLandmarks( QList<QLookupItem> &aItemArray );
    49     bool populateLandmarks( QList<QLookupItem> &aItemArray );
    50     // populates collections
    50     // populates collections
    51     void populateCollections( QList<int>& aCount );
    51     void populateCollections( QList<int>& aCount );
    52 
    52 
    53 private:
    53 private:
    54     Qt::Orientations mOrientation;
       
    55     QStandardItemModel *mModel;
    54     QStandardItemModel *mModel;
    56     TViewType mViewType;
    55     TViewType mViewType;
    57     LocationDataLookupDb *mDb; 
    56     LocationDataLookupDb *mDb; 
    58     quint32 mCategoryId;
    57     quint32 mCategoryId;
    59 };
    58 };