Commit e040f41d authored by Jan Hambrecht's avatar Jan Hambrecht

remove deprecated method


svn path=/trunk/koffice/; revision=787850
parent b5b9e296
......@@ -420,7 +420,7 @@ void KoShape::setAbsolutePosition(QPointF newPosition, KoFlake::Position anchor)
void KoShape::copySettings(const KoShape *shape) {
d->size = shape->size();
d->connectors.clear();
foreach(QPointF point, shape->connectors())
foreach(QPointF point, shape->connectionPoints())
addConnectionPoint(point);
d->zIndex = shape->zIndex();
d->visible = shape->isVisible();
......@@ -526,10 +526,6 @@ void KoShape::addConnectionPoint( const QPointF &point ) {
d->connectors.append( QPointF( point.x() / s.width(), point.y() / s.height() ) );
}
QList<QPointF> KoShape::connectors() const {
return d->connectors.toList();
}
QList<QPointF> KoShape::connectionPoints() const {
QList<QPointF> points;
QSizeF s = size();
......
......@@ -305,11 +305,6 @@ public:
*/
void addConnectionPoint( const QPointF &point );
/**
* Return a list of the connection points that have been added to this shape.
* @return a list of the connectors that have been added to this shape.
*/
KDE_DEPRECATED QList<QPointF> connectors() const;
/**
* Return a list of the connection points that have been added to this shape.
* @return a list of the connectors that have been added to this shape.
......
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