diff --git a/src/chartpresenter.cpp b/src/chartpresenter.cpp index 07b1efe..12a1649 100644 --- a/src/chartpresenter.cpp +++ b/src/chartpresenter.cpp @@ -118,7 +118,7 @@ void ChartPresenter::handleSeriesAdded(QSeries* series) } m_chartTheme->decorate(item,lineSeries,m_chartItems.count()); QObject::connect(this,SIGNAL(geometryChanged(const QRectF&)),item,SLOT(handleGeometryChanged(const QRectF&))); - QObject::connect(lineSeries,SIGNAL(changed(int)),item,SLOT(handleModelChanged(int))); + QObject::connect(lineSeries,SIGNAL(pointChanged(int)),item,SLOT(handleModelChanged(int))); m_chartItems.insert(series,item); break; } diff --git a/src/linechart/qlineseries.cpp b/src/linechart/qlineseries.cpp index 0b0cab1..fa960ef 100644 --- a/src/linechart/qlineseries.cpp +++ b/src/linechart/qlineseries.cpp @@ -43,7 +43,17 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! - \fn void QLineSeries::changed(int index) + \fn void QLineSeries::pointChanged(int index) + \brief \internal \a index +*/ + +/*! + \fn void QLineSeries::pointAdded(int index) + \brief \internal \a index +*/ + +/*! + \fn void QLineSeries::pointRemoved(int index) \brief \internal \a index */ @@ -71,6 +81,7 @@ void QLineSeries::add(qreal x,qreal y) Q_ASSERT(m_x.size() == m_y.size()); m_x< m_x;