mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
d49acdb3c0
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>
17 lines
396 B
C++
17 lines
396 B
C++
#ifndef DIVELINEITEM_H
|
|
#define DIVELINEITEM_H
|
|
|
|
#include <QObject>
|
|
#include <QGraphicsLineItem>
|
|
|
|
class DiveLineItem : public QObject, public QGraphicsLineItem {
|
|
Q_OBJECT
|
|
Q_PROPERTY(QPointF pos READ pos WRITE setPos)
|
|
Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
|
|
public:
|
|
DiveLineItem(QGraphicsItem *parent = 0);
|
|
void animatedHide();
|
|
void animateMoveTo(qreal x, qreal y);
|
|
};
|
|
|
|
#endif
|