Changeset 15 in flair-src for trunk/tools/FlairGCS/src/Landmark.h
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/Landmark.h
r10 r15 10 10 11 11 namespace QtMobility { 12 13 14 12 class QGraphicsGeoMap; 13 class QGeoMapTextObject; 14 class QGeoMapPixmapObject; 15 15 } 16 16 17 18 class Landmark : public QtMobility::QGeoMapGroupObject 19 { 17 class Landmark : public QtMobility::QGeoMapGroupObject { 20 18 21 19 public: 22 Landmark(QtMobility::QGraphicsGeoMap *geoMap,const QtMobility::QGeoCoordinate &coordinate,QString name,QString type="landmark"); 23 ~Landmark(); 20 Landmark(QtMobility::QGraphicsGeoMap *geoMap, 21 const QtMobility::QGeoCoordinate &coordinate, QString name, 22 QString type = "landmark"); 23 ~Landmark(); 24 24 25 26 27 28 29 30 25 QtMobility::QGeoCoordinate coordinate(void); 26 void setCoordinate(const QtMobility::QGeoCoordinate &coordinate); 27 void setText(QString string); 28 void setColor(Qt::GlobalColor color); 29 void RemoveLandmark(void); 30 void AddLandmark(QtMobility::QGraphicsGeoMap *geoMap); 31 31 32 32 private: 33 QtMobility::QGeoMapTextObject*text;34 QtMobility::QGeoMapPixmapObject*pixmap;35 33 QtMobility::QGeoMapTextObject *text; 34 QtMobility::QGeoMapPixmapObject *pixmap; 35 QtMobility::QGraphicsGeoMap *geoMap; 36 36 }; 37 37
Note:
See TracChangeset
for help on using the changeset viewer.