added missing JKQTPlotter::getDatastore() with const-modifier

This commit is contained in:
jkriege2 2020-09-11 12:06:27 +02:00
parent 2e2d8dc7d6
commit 1162a80cb4

View File

@ -650,6 +650,9 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
/** \brief returns a pointer to the datastore used by this object */
inline JKQTPDatastore* getDatastore() { return plotter->getDatastore(); }
/** \brief returns a pointer to the datastore used by this object */
inline const JKQTPDatastore* getDatastore() const { return plotter->getDatastore(); }
/** \brief tells the plotter object to use the given external datastore.
*
* If the current datastore is internally managed, this method will free that object and use the supplied datastore