summaryrefslogtreecommitdiffstats
path: root/src/splinechart/splinechartitem.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@digia.com>2012-03-13 15:28:50 +0200
committerMichal Klocek <michal.klocek@digia.com>2012-03-13 15:28:50 +0200
commit6b65c67e374559963b056e0d5fa3c7862254d6fc (patch)
tree71398d20c71bba684fc0374331308189ca58e792 /src/splinechart/splinechartitem.cpp
parentd1c2b82b3622ff0cc5fe91864a79562aaa1b3f7a (diff)
Unify naming setGeometry -> setLayout
Diffstat (limited to 'src/splinechart/splinechartitem.cpp')
-rw-r--r--src/splinechart/splinechartitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/splinechart/splinechartitem.cpp b/src/splinechart/splinechartitem.cpp
index 06ee33ac..2d565ee2 100644
--- a/src/splinechart/splinechartitem.cpp
+++ b/src/splinechart/splinechartitem.cpp
@@ -28,12 +28,12 @@ QPointF SplineChartItem::calculateGeometryControlPoint(int index) const
return XYChartItem::calculateGeometryPoint(m_series->controlPoint(index));
}
-void SplineChartItem::setGeometry(QVector<QPointF>& points)
+void SplineChartItem::setLayout(QVector<QPointF>& points)
{
if(points.size()==0)
{
- XYChartItem::setGeometry(points);
+ XYChartItem::setLayout(points);
return;
}
@@ -50,7 +50,7 @@ void SplineChartItem::setGeometry(QVector<QPointF>& points)
prepareGeometryChange();
m_path = splinePath;
m_rect = splinePath.boundingRect();
- XYChartItem::setGeometry(points);
+ XYChartItem::setLayout(points);
}
void SplineChartItem::setLinePen(const QPen& pen)