Commit f0b6811b authored by Jochen Becher's avatar Jochen Becher
Browse files

ModelEditor: Add forgotten methods for visitor pattern



Change-Id: Id96dcb5da1013e7997e914f96949ee1b01103469
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 13c5ea4d
......@@ -92,4 +92,14 @@ void DRelation::setIntermediatePoints(const QList<DRelation::IntermediatePoint>
m_intermediatePoints = intermediatePoints;
}
void DRelation::accept(DVisitor *visitor)
{
visitor->visitDRelation(this);
}
void DRelation::accept(DConstVisitor *visitor) const
{
visitor->visitDRelation(this);
}
} // namespace qmt
......@@ -71,6 +71,9 @@ public:
QList<IntermediatePoint> intermediatePoints() const { return m_intermediatePoints; }
void setIntermediatePoints(const QList<IntermediatePoint> &intermediatePoints);
void accept(DVisitor *visitor);
void accept(DConstVisitor *visitor) const;
private:
Uid m_modelUid;
QList<QString> m_stereotypes;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment