subsurface/qt-ui/profile/divelineitem.h
Boris Barbulovski ccb1c33d02 Put include guard to every header
* ensure include guard to every header
* comment endif guard block

Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-11 12:37:01 -08:00

17 lines
414 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 // DIVELINEITEM_H