missing method
svn path=/trunk/KDE/kdelibs/; revision=1128639
This commit is contained in:
parent
615aef4915
commit
ae4caf4a5a
@ -109,6 +109,13 @@ void DataEngineScript::setData(const QString &source, const QVariant &value)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void DataEngineScript::setData(const QString &source, const DataEngine::Data &values)
|
||||||
|
{
|
||||||
|
if (d->dataEngine) {
|
||||||
|
d->dataEngine->setData(source, values);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void DataEngineScript::removeAllData(const QString &source)
|
void DataEngineScript::removeAllData(const QString &source)
|
||||||
{
|
{
|
||||||
if (d->dataEngine) {
|
if (d->dataEngine) {
|
||||||
|
@ -119,6 +119,15 @@ protected:
|
|||||||
void setData(const QString &source, const QString &key,
|
void setData(const QString &source, const QString &key,
|
||||||
const QVariant &value);
|
const QVariant &value);
|
||||||
void setData(const QString &source, const QVariant &value);
|
void setData(const QString &source, const QVariant &value);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a set of values to a source
|
||||||
|
* @param source the name of the source to set the data on
|
||||||
|
* @values a key/value collection to add to the source
|
||||||
|
* @since 4.5
|
||||||
|
*/
|
||||||
|
void setData(const QString &source, const DataEngine::Data &values);
|
||||||
|
|
||||||
void removeAllData(const QString &source);
|
void removeAllData(const QString &source);
|
||||||
void removeData(const QString &source, const QString &key);
|
void removeData(const QString &source, const QString &key);
|
||||||
void setMaxSourceCount(uint limit);
|
void setMaxSourceCount(uint limit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user