--- a/locationpickerservice/inc/locationpickerdatamanager.h Mon May 03 12:27:22 2010 +0300
+++ b/locationpickerservice/inc/locationpickerdatamanager.h Fri May 14 15:47:27 2010 +0300
@@ -30,18 +30,17 @@
class LocationPickerDataManager
{
public:
+ static LocationPickerDataManager* getInstance();
+private:
// constructors
LocationPickerDataManager();
- LocationPickerDataManager( QStandardItemModel &aModel, TViewType aViewType );
// destructor
~LocationPickerDataManager();
-
+public:
// populates the model with data
- bool populateModel(Qt::Orientations aOrientation,quint32 aCollectionId = 0);
-
- // gets the data pointed to by index and copies to the aValue
- void getData(int index, quint32& aValue );
+ bool populateModel( QStandardItemModel &aModel, TViewType aViewType,
+ Qt::Orientations aOrientation,quint32 aCollectionId = 0);
// gets the location item
void getLocationItem( quint32 aLmId, QLocationPickerItem &aItem );