mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
added missing JKQTPlotter::getDatastore() with const-modifier
This commit is contained in:
parent
2e2d8dc7d6
commit
1162a80cb4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user