summaryrefslogtreecommitdiff
path: root/src/data/edge.h
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-08-20 09:03:17 +0200
committerGard Spreemann <gspr@nonempty.org>2020-08-20 09:03:17 +0200
commit4e1b4e9877732d1e1887674e48312902437f08c5 (patch)
tree7993cbc3ad71eed10da830aca85ef0b99d163bac /src/data/edge.h
parent99f00a3ef9d1bd2d686b1521d25c9afedb880b34 (diff)
parent300267089b80785551c4721684280efe654ec834 (diff)
Merge tag 'v2.1.6' into debian/sid
Diffstat (limited to 'src/data/edge.h')
-rw-r--r--src/data/edge.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/data/edge.h b/src/data/edge.h
index 954145f..ad21f36 100644
--- a/src/data/edge.h
+++ b/src/data/edge.h
@@ -27,6 +27,8 @@
#include "node.h"
#include "style.h"
+class Path;
+
#include <QObject>
#include <QPointF>
@@ -92,12 +94,15 @@ public:
void setStyleName(const QString & styleName);
Style *style() const;
+ Path *path() const;
+ void setPath(Path *path);
+
signals:
public slots:
private:
- QPointF bezierTangent(qreal start, qreal end) const;
+ QPointF bezierTangent(qreal start, qreal end) const;
QString _sourceAnchor;
QString _targetAnchor;
@@ -108,6 +113,7 @@ private:
// referenced
Node *_source;
Node *_target;
+ Path *_path;
Style *_style;