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

Last change on this file since 49 was 15, checked in by Bayard Gildas, 8 years ago

sources reformatted with flair-format-dir script

File size: 990 bytes
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[9]5#ifndef LANDMARK_H
6#define LANDMARK_H
7
8#include <QGeoMapGroupObject>
9#include <QGeoCoordinate>
10
11namespace QtMobility {
[15]12class QGraphicsGeoMap;
13class QGeoMapTextObject;
14class QGeoMapPixmapObject;
[9]15}
16
[15]17class Landmark : public QtMobility::QGeoMapGroupObject {
[9]18
19public:
[15]20 Landmark(QtMobility::QGraphicsGeoMap *geoMap,
21 const QtMobility::QGeoCoordinate &coordinate, QString name,
22 QString type = "landmark");
23 ~Landmark();
[9]24
[15]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);
[9]31
32private:
[15]33 QtMobility::QGeoMapTextObject *text;
34 QtMobility::QGeoMapPixmapObject *pixmap;
35 QtMobility::QGraphicsGeoMap *geoMap;
[9]36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.