diff --git a/datacontainer.cpp b/datacontainer.cpp index 80b23c18a..1e478ea7c 100644 --- a/datacontainer.cpp +++ b/datacontainer.cpp @@ -144,7 +144,7 @@ void DataContainer::connectVisualization(QObject *visualization, uint pollingInt } } -void DataContainer::setStorageEnable(bool store) +void DataContainer::setStorageEnabled(bool store) { QTime time = QTime::currentTime(); qsrand((uint)time.msec()); diff --git a/datacontainer.h b/datacontainer.h index 73ff1c98e..c47b89cf9 100644 --- a/datacontainer.h +++ b/datacontainer.h @@ -127,11 +127,13 @@ class PLASMA_EXPORT DataContainer : public QObject /** * sets this data container to be automatically stored. * @param whether this data container should be stored + * @since 4.6 */ - void setStorageEnable(bool store); + void setStorageEnabled(bool store); /** * @return true if the data container has been marked for storage + * @since 4.6 */ bool isStorageEnabled() const; diff --git a/dataengine.cpp b/dataengine.cpp index 805445e01..7e5d2c95a 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -500,10 +500,10 @@ void DataEngine::setName(const QString &name) setObjectName(name); } -void DataEngine::setStorageEnable(const QString &source, bool store) +void DataEngine::setStorageEnabled(const QString &source, bool store) { DataContainer *s = d->source(source, false); - s->setStorageEnable(store); + s->setStorageEnabled(store); } // Private class implementations diff --git a/dataengine.h b/dataengine.h index 3b39d48f3..2190c6a83 100644 --- a/dataengine.h +++ b/dataengine.h @@ -456,9 +456,9 @@ NoAlignment) const; * is unavailable. * @param source the name of the source * @param store if source should be stored + * @since 4.6 */ - void setStorageEnable(const QString &source, bool store); - + void setStorageEnabled(const QString &source, bool store); protected Q_SLOTS: /**