##// END OF EJS Templates
doc fix
sauimone -
r730:bbfdabbd5530
parent child
Show More
@@ -361,11 +361,17 QLegend& QChartView::legend() const
361 return m_chart->legend();
361 return m_chart->legend();
362 }
362 }
363
363
364 /*!
365 Gives ownership of legend to user.
366 */
364 QLegend* QChartView::takeLegend()
367 QLegend* QChartView::takeLegend()
365 {
368 {
366 return m_chart->takeLegend();
369 return m_chart->takeLegend();
367 }
370 }
368
371
372 /*!
373 Gives ownership of legend back to chart. QChart takes ownership of \a legend and deletes existing one
374 */
369 void QChartView::giveLegend(QLegend* legend)
375 void QChartView::giveLegend(QLegend* legend)
370 {
376 {
371 m_chart->giveLegend(legend);
377 m_chart->giveLegend(legend);
General Comments 0
You need to be logged in to leave comments. Login now