TD: move to new style connect()

This commit is contained in:
wmayer
2023-01-31 21:21:38 +01:00
committed by Uwe
parent 900ad81b49
commit 25a63f8750
31 changed files with 380 additions and 365 deletions

View File

@@ -216,20 +216,20 @@ void QGEPath::showMarkers(std::vector<QPointF> points)
v->setFlag(QGraphicsItem::ItemIsFocusable, true);
v->setParentItem(this);
QObject::connect(
v, SIGNAL(dragFinished(QPointF, int)),
this , SLOT (onDragFinished(QPointF, int))
v, &QGMarker::dragFinished,
this, &QGEPath::onDragFinished
);
QObject::connect(
v, SIGNAL(dragging(QPointF, int)),
this , SLOT (onDragging(QPointF, int))
v, &QGMarker::dragging,
this, &QGEPath::onDragging
);
QObject::connect(
v, SIGNAL(doubleClick(QPointF, int)),
this , SLOT (onDoubleClick(QPointF, int))
v, &QGMarker::doubleClick,
this, &QGEPath::onDoubleClick
);
QObject::connect(
v, SIGNAL(endEdit()),
this , SLOT (onEndEdit())
v, &QGMarker::endEdit,
this, &QGEPath::onEndEdit
);
//TODO: double r = getMarkerSize();
// v->setRadius(r);