The method Qwtplot::clear()
has been deprecated. Use QwtPlotDict::detachItems
instead.
void QwtPlotDict::detachItems(int rtti = QwtPlotItem::Rtti_PlotItem,
bool autoDelete = true
)
Parameters:
rtti: In case of QwtPlotItem::Rtti_PlotItem detach all items otherwise only those items of the type rtti. autoDelete: If true, delete all detached items