mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Clean up include files
They should have a newline at the end. Forward declarations of classes should be 'class'. Function / method definitions don't end on a ';' Remove obsolete QStateMachine forward reference. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
829473ddc6
commit
d49acdb3c0
8 changed files with 25 additions and 27 deletions
|
@ -11,6 +11,6 @@ namespace Animations{
|
||||||
void moveTo(QObject *obj, qreal x, qreal y, int msecs = 500);
|
void moveTo(QObject *obj, qreal x, qreal y, int msecs = 500);
|
||||||
void moveTo(QObject *obj, const QPointF& pos, int msecs = 500);
|
void moveTo(QObject *obj, const QPointF& pos, int msecs = 500);
|
||||||
void animDelete(QObject *obj);
|
void animDelete(QObject *obj);
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -26,4 +26,4 @@ private:
|
||||||
struct event* internalEvent;
|
struct event* internalEvent;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,4 +14,4 @@ public:
|
||||||
void animateMoveTo(qreal x, qreal y);
|
void animateMoveTo(qreal x, qreal y);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,4 +14,4 @@ public:
|
||||||
DivePixmapItem(QObject* parent = 0);
|
DivePixmapItem(QObject* parent = 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -41,7 +41,7 @@ public:
|
||||||
void setHorizontalDataColumn(int column);
|
void setHorizontalDataColumn(int column);
|
||||||
void setVerticalDataColumn(int column);
|
void setVerticalDataColumn(int column);
|
||||||
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) = 0;
|
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) = 0;
|
||||||
virtual void clear(){};
|
virtual void clear(){}
|
||||||
public slots:
|
public slots:
|
||||||
virtual void preferencesChanged();
|
virtual void preferencesChanged();
|
||||||
virtual void modelDataChanged(const QModelIndex& topLeft = QModelIndex(), const QModelIndex& bottomRight = QModelIndex());
|
virtual void modelDataChanged(const QModelIndex& topLeft = QModelIndex(), const QModelIndex& bottomRight = QModelIndex());
|
||||||
|
|
|
@ -14,4 +14,4 @@ public:
|
||||||
DiveRectItem(QObject *parent = 0, QGraphicsItem *parentItem = 0);
|
DiveRectItem(QObject *parent = 0, QGraphicsItem *parentItem = 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -58,4 +58,4 @@ private:
|
||||||
plot_info pInfo;
|
plot_info pInfo;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,31 +16,29 @@
|
||||||
#include "graphicsview-common.h"
|
#include "graphicsview-common.h"
|
||||||
#include "divelineitem.h"
|
#include "divelineitem.h"
|
||||||
|
|
||||||
|
struct dive;
|
||||||
|
struct plot_info;
|
||||||
class ToolTipItem;
|
class ToolTipItem;
|
||||||
class MeanDepthLine;
|
class MeanDepthLine;
|
||||||
class DiveReportedCeiling;
|
class DiveReportedCeiling;
|
||||||
class DiveTextItem;
|
class DiveTextItem;
|
||||||
class TemperatureAxis;
|
class TemperatureAxis;
|
||||||
class DiveEventItem;
|
class DiveEventItem;
|
||||||
struct DivePlotDataModel;
|
class DivePlotDataModel;
|
||||||
struct DivePixmapItem;
|
class DivePixmapItem;
|
||||||
struct DiveRectItem;
|
class DiveRectItem;
|
||||||
struct DepthAxis;
|
class DepthAxis;
|
||||||
struct DiveCartesianAxis;
|
class DiveCartesianAxis;
|
||||||
struct DiveProfileItem;
|
class DiveProfileItem;
|
||||||
struct TimeAxis;
|
class TimeAxis;
|
||||||
struct dive;
|
class DiveCartesianPlane;
|
||||||
struct QStateMachine;
|
class DiveTemperatureItem;
|
||||||
struct DiveCartesianPlane;
|
class DiveGasPressureItem;
|
||||||
struct DiveTemperatureItem;
|
class DiveCalculatedCeiling;
|
||||||
struct plot_info;
|
class DiveCalculatedTissue;
|
||||||
struct DiveGasPressureItem;
|
class PartialPressureGasItem;
|
||||||
struct DiveCalculatedCeiling;
|
class PartialGasPressureAxis;
|
||||||
struct DiveReportedCeiling;
|
class AbstractProfilePolygonItem;
|
||||||
struct DiveCalculatedTissue;
|
|
||||||
struct PartialPressureGasItem;
|
|
||||||
struct PartialGasPressureAxis;
|
|
||||||
struct AbstractProfilePolygonItem;
|
|
||||||
|
|
||||||
class ProfileWidget2 : public QGraphicsView {
|
class ProfileWidget2 : public QGraphicsView {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Add table
Reference in a new issue