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, const QPointF& pos, int msecs = 500);
|
||||
void animDelete(QObject *obj);
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -26,4 +26,4 @@ private:
|
|||
struct event* internalEvent;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -14,4 +14,4 @@ public:
|
|||
void animateMoveTo(qreal x, qreal y);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -14,4 +14,4 @@ public:
|
|||
DivePixmapItem(QObject* parent = 0);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
void setHorizontalDataColumn(int column);
|
||||
void setVerticalDataColumn(int column);
|
||||
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) = 0;
|
||||
virtual void clear(){};
|
||||
virtual void clear(){}
|
||||
public slots:
|
||||
virtual void preferencesChanged();
|
||||
virtual void modelDataChanged(const QModelIndex& topLeft = QModelIndex(), const QModelIndex& bottomRight = QModelIndex());
|
||||
|
|
|
@ -14,4 +14,4 @@ public:
|
|||
DiveRectItem(QObject *parent = 0, QGraphicsItem *parentItem = 0);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -58,4 +58,4 @@ private:
|
|||
plot_info pInfo;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -16,31 +16,29 @@
|
|||
#include "graphicsview-common.h"
|
||||
#include "divelineitem.h"
|
||||
|
||||
struct dive;
|
||||
struct plot_info;
|
||||
class ToolTipItem;
|
||||
class MeanDepthLine;
|
||||
class DiveReportedCeiling;
|
||||
class DiveTextItem;
|
||||
class TemperatureAxis;
|
||||
class DiveEventItem;
|
||||
struct DivePlotDataModel;
|
||||
struct DivePixmapItem;
|
||||
struct DiveRectItem;
|
||||
struct DepthAxis;
|
||||
struct DiveCartesianAxis;
|
||||
struct DiveProfileItem;
|
||||
struct TimeAxis;
|
||||
struct dive;
|
||||
struct QStateMachine;
|
||||
struct DiveCartesianPlane;
|
||||
struct DiveTemperatureItem;
|
||||
struct plot_info;
|
||||
struct DiveGasPressureItem;
|
||||
struct DiveCalculatedCeiling;
|
||||
struct DiveReportedCeiling;
|
||||
struct DiveCalculatedTissue;
|
||||
struct PartialPressureGasItem;
|
||||
struct PartialGasPressureAxis;
|
||||
struct AbstractProfilePolygonItem;
|
||||
class DivePlotDataModel;
|
||||
class DivePixmapItem;
|
||||
class DiveRectItem;
|
||||
class DepthAxis;
|
||||
class DiveCartesianAxis;
|
||||
class DiveProfileItem;
|
||||
class TimeAxis;
|
||||
class DiveCartesianPlane;
|
||||
class DiveTemperatureItem;
|
||||
class DiveGasPressureItem;
|
||||
class DiveCalculatedCeiling;
|
||||
class DiveCalculatedTissue;
|
||||
class PartialPressureGasItem;
|
||||
class PartialGasPressureAxis;
|
||||
class AbstractProfilePolygonItem;
|
||||
|
||||
class ProfileWidget2 : public QGraphicsView {
|
||||
Q_OBJECT
|
||||
|
|
Loading…
Add table
Reference in a new issue