mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 13:41: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:
|
public:
|
||||||
GraphItem(const Graph &graph, GraphType type, QGraphicsItem *parent = 0);
|
GraphItem(const Graph &graph, GraphType type, QGraphicsItem *parent = 0);
|
||||||
|
virtual ~GraphItem() {}
|
||||||
|
|
||||||
QPainterPath shape() const {return _shape;}
|
QPainterPath shape() const {return _shape;}
|
||||||
QRectF boundingRect() const {return _shape.boundingRect();}
|
QRectF boundingRect() const {return _shape.boundingRect();}
|
||||||
|
@ -16,6 +16,7 @@ class GraphTab : public GraphView
|
|||||||
public:
|
public:
|
||||||
GraphTab(QWidget *parent = 0) : GraphView(parent)
|
GraphTab(QWidget *parent = 0) : GraphView(parent)
|
||||||
{setFrameShape(QFrame::NoFrame);}
|
{setFrameShape(QFrame::NoFrame);}
|
||||||
|
virtual ~GraphTab() {}
|
||||||
|
|
||||||
virtual QString label() const = 0;
|
virtual QString label() const = 0;
|
||||||
virtual void loadData(const Data &data, const QList<PathItem *> &paths) = 0;
|
virtual void loadData(const Data &data, const QList<PathItem *> &paths) = 0;
|
||||||
|
@ -16,6 +16,7 @@ class Map : public QObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
Map(QObject *parent = 0) : QObject(parent), _backgroundColor(Qt::white) {}
|
Map(QObject *parent = 0) : QObject(parent), _backgroundColor(Qt::white) {}
|
||||||
|
virtual ~Map() {}
|
||||||
|
|
||||||
virtual const QString &name() const = 0;
|
virtual const QString &name() const = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user