profile: remove DiveRectItem
This class wasn't used anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
0a7fc9b350
commit
2c87a057cc
@ -176,7 +176,6 @@ SOURCES += subsurface-mobile-main.cpp \
|
||||
profile-widget/pictureitem.cpp \
|
||||
profile-widget/tooltipitem.cpp \
|
||||
profile-widget/divelineitem.cpp \
|
||||
profile-widget/diverectitem.cpp \
|
||||
profile-widget/divetextitem.cpp \
|
||||
profile-widget/profileview.cpp \
|
||||
qt-quick/chartitem.cpp \
|
||||
@ -336,7 +335,6 @@ HEADERS += \
|
||||
profile-widget/divecartesianaxis.h \
|
||||
profile-widget/divelineitem.h \
|
||||
profile-widget/divepixmapcache.h \
|
||||
profile-widget/diverectitem.h \
|
||||
profile-widget/divetextitem.h \
|
||||
profile-widget/profileview.h \
|
||||
profile-widget/profiletranslations.h \
|
||||
|
||||
@ -14,8 +14,6 @@ set(SUBSURFACE_PROFILE_LIB_SRCS
|
||||
divepercentageitem.h
|
||||
diveprofileitem.cpp
|
||||
diveprofileitem.h
|
||||
diverectitem.cpp
|
||||
diverectitem.h
|
||||
divetextitem.cpp
|
||||
divetextitem.h
|
||||
pictureitem.h
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "diverectitem.h"
|
||||
|
||||
DiveRectItem::DiveRectItem(QObject *parent, QGraphicsItem *parentItem) : QObject(parent), QGraphicsRectItem(parentItem)
|
||||
{
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef DIVERECTITEM_H
|
||||
#define DIVERECTITEM_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QGraphicsRectItem>
|
||||
|
||||
class DiveRectItem : public QObject, public QGraphicsRectItem {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QRectF rect WRITE setRect READ rect)
|
||||
Q_PROPERTY(QPointF pos WRITE setPos READ pos)
|
||||
Q_PROPERTY(qreal x WRITE setX READ x)
|
||||
Q_PROPERTY(qreal y WRITE setY READ y)
|
||||
public:
|
||||
DiveRectItem(QObject *parent = 0, QGraphicsItem *parentItem = 0);
|
||||
};
|
||||
|
||||
#endif // DIVERECTITEM_H
|
||||
Loading…
x
Reference in New Issue
Block a user