##// END OF EJS Templates
Fix value axis documentation...
Titta Heikkala -
r2636:25b732239a6d
parent child
Show More
@@ -170,8 +170,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
170 170
171 171 /*!
172 172 \qmlproperty bool ValueAxis::niceNumbersEnabled
173 \obsolete
174 Using this function can lead to unexpected behavior. Use applyNiceNumbers() instead.
173 Deprecated; Using this function can lead to unexpected behavior. Use applyNiceNumbers() instead.
175 174 */
176 175
177 176 /*!
@@ -254,7 +253,8 int QValueAxis::tickCount() const
254 253 void QValueAxis::setNiceNumbersEnabled(bool enable)
255 254 {
256 255 Q_D(QValueAxis);
257 qWarning()<<"This function is depreciated, it can lead to unexpected behavior.Use applyNiceNumbers(). ";
256 qWarning() << "Deprecated; Using this function can lead to unexpected behavior. " \
257 "Use applyNiceNumbers() instead.";
258 258 if(enable) {
259 259 QObject::connect(this,SIGNAL(rangeChanged(qreal,qreal)),this,SLOT(applyNiceNumbers()));
260 260 QObject::connect(this,SIGNAL(tickCountChanged(int)),this,SLOT(applyNiceNumbers()));
@@ -270,7 +270,8 void QValueAxis::setNiceNumbersEnabled(bool enable)
270 270 bool QValueAxis::niceNumbersEnabled() const
271 271 {
272 272 Q_D(const QValueAxis);
273 qWarning()<<"This function is depreciated.Use applyNiceNumbers().";
273 qWarning() << "Deprecated; Using this function can lead to unexpected behavior. " \
274 "Use applyNiceNumbers() instead.";
274 275 return d->m_niceNumbersEnabled;
275 276 }
276 277
General Comments 0
You need to be logged in to leave comments. Login now