equal
deleted
inserted
replaced
28 * |
28 * |
29 */ |
29 */ |
30 class LocationPickerDataManager |
30 class LocationPickerDataManager |
31 { |
31 { |
32 public: |
32 public: |
|
33 static LocationPickerDataManager* getInstance(); |
|
34 private: |
33 // constructors |
35 // constructors |
34 LocationPickerDataManager(); |
36 LocationPickerDataManager(); |
35 LocationPickerDataManager( QStandardItemModel &aModel, TViewType aViewType ); |
|
36 |
37 |
37 // destructor |
38 // destructor |
38 ~LocationPickerDataManager(); |
39 ~LocationPickerDataManager(); |
39 |
40 public: |
40 // populates the model with data |
41 // populates the model with data |
41 bool populateModel(Qt::Orientations aOrientation,quint32 aCollectionId = 0); |
42 bool populateModel( QStandardItemModel &aModel, TViewType aViewType, |
42 |
43 Qt::Orientations aOrientation,quint32 aCollectionId = 0); |
43 // gets the data pointed to by index and copies to the aValue |
|
44 void getData(int index, quint32& aValue ); |
|
45 |
44 |
46 // gets the location item |
45 // gets the location item |
47 void getLocationItem( quint32 aLmId, QLocationPickerItem &aItem ); |
46 void getLocationItem( quint32 aLmId, QLocationPickerItem &aItem ); |
48 |
47 |
49 private: |
48 private: |