source: flair-src/trunk/tools/FlairGCS/src/Landmark.h @ 9

Last change on this file since 9 was 9, checked in by Sanahuja Guillaume, 5 years ago

gcs

File size: 860 bytes
Line 
1#ifndef LANDMARK_H
2#define LANDMARK_H
3
4#include <QGeoMapGroupObject>
5#include <QGeoCoordinate>
6
7namespace QtMobility {
8    class QGraphicsGeoMap;
9    class QGeoMapTextObject;
10    class QGeoMapPixmapObject;
11}
12
13
14class Landmark : public QtMobility::QGeoMapGroupObject
15{
16
17public:
18    Landmark(QtMobility::QGraphicsGeoMap *geoMap,const QtMobility::QGeoCoordinate &coordinate,QString name,QString type="landmark");
19    ~Landmark();
20
21    QtMobility::QGeoCoordinate coordinate(void);
22    void setCoordinate(const QtMobility::QGeoCoordinate &coordinate);
23    void setText(QString string);
24    void setColor(Qt::GlobalColor color);
25    void RemoveLandmark(void);
26    void AddLandmark(QtMobility::QGraphicsGeoMap *geoMap);
27
28private:
29    QtMobility::QGeoMapTextObject* text;
30    QtMobility::QGeoMapPixmapObject* pixmap;
31    QtMobility::QGraphicsGeoMap *geoMap;
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.