locationpickerservice/inc/locationpickercollectioncontent.h
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 31 8db05346071b
--- a/locationpickerservice/inc/locationpickercollectioncontent.h	Mon May 03 12:27:22 2010 +0300
+++ b/locationpickerservice/inc/locationpickercollectioncontent.h	Fri May 14 15:47:27 2010 +0300
@@ -34,14 +34,18 @@
     ~LocationPickerCollectionContent();
     //get proxy model
     LocationPickerProxyModel* getProxyModel();
-    //get LocationPickerDataManager
-    LocationPickerDataManager* getDataManager();
-
+    //get standard model
+    QStandardItemModel* getStandardModel();
+    // gets the data pointed to by index and copies to the aValue
+    void getData( QModelIndex aIndex, quint32& aValue );
+    //return true if location entry is found
+    bool locationFound();
 private:
     Qt::Orientations mOrientation;
     LocationPickerProxyModel *mProxyModel;
     QStandardItemModel *mModel;
     LocationPickerDataManager *mDataManager;
+    bool mLocationFound;
 };
 
 #endif // LOCATIONPICKERCOLLECTIONCONTENT_H