! Adds \a item to the legend, if it's not present already. The element is arranged according to the current fill order (\ref setFillOrder) and wrapping (\ref setWrap). Returns true on sucess, i.e. if the item wasn't in the list already and has been successfuly added. The legend takes ownership of the item. \see removeItem, item, hasItem */
| 19430 | \see removeItem, item, hasItem |
| 19431 | */ |
| 19432 | bool QCPLegend::addItem(QCPAbstractLegendItem *item) |
| 19433 | { |
| 19434 | return addElement(item); |
| 19435 | } |
| 19436 | |
| 19437 | /*! \overload |
| 19438 |
no outgoing calls
no test coverage detected