API review clearData() -> removeAllData()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801353
This commit is contained in:
Anne-Marie Mahfouf 2008-04-26 12:12:37 +00:00
parent cda992682a
commit 254077afa4
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ void DataEngineScript::setData(const QString &source, const QVariant &value)
}
}
void DataEngineScript::clearData(const QString& source)
void DataEngineScript::removeAllData(const QString& source)
{
if (d->dataEngine) {
d->dataEngine->removeAllData(source);

View File

@ -78,7 +78,7 @@ protected:
void setData(const QString& source, const QString& key,
const QVariant& value);
void setData(const QString &source, const QVariant &value);
void clearData(const QString& source);
void removeAllData(const QString& source);
void removeData(const QString& source, const QString& key);
void setMaxSourceCount(uint limit);
void setMinimumPollingInterval(int minimumMs);