mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Added missing virtual destructors
This commit is contained in:
parent
d6746bc444
commit
a21464d98d
@ -12,6 +12,7 @@ class GraphItem : public QGraphicsObject
|
||||
|
||||
public:
|
||||
GraphItem(const Graph &graph, GraphType type, QGraphicsItem *parent = 0);
|
||||
virtual ~GraphItem() {}
|
||||
|
||||
QPainterPath shape() const {return _shape;}
|
||||
QRectF boundingRect() const {return _shape.boundingRect();}
|
||||
|
@ -16,6 +16,7 @@ class GraphTab : public GraphView
|
||||
public:
|
||||
GraphTab(QWidget *parent = 0) : GraphView(parent)
|
||||
{setFrameShape(QFrame::NoFrame);}
|
||||
virtual ~GraphTab() {}
|
||||
|
||||
virtual QString label() const = 0;
|
||||
virtual void loadData(const Data &data, const QList<PathItem *> &paths) = 0;
|
||||
|
@ -16,6 +16,7 @@ class Map : public QObject
|
||||
|
||||
public:
|
||||
Map(QObject *parent = 0) : QObject(parent), _backgroundColor(Qt::white) {}
|
||||
virtual ~Map() {}
|
||||
|
||||
virtual const QString &name() const = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user