API review: clearSources()-> removeAllSources()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801363
This commit is contained in:
Anne-Marie Mahfouf 2008-04-26 12:30:42 +00:00
parent 451dc3b8cd
commit a522992e06
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ void DataEngineScript::setPollingInterval(uint frequency)
} }
} }
void DataEngineScript::clearSources() void DataEngineScript::removeAllSources()
{ {
if (d->dataEngine) { if (d->dataEngine) {
d->dataEngine->removeAllSources(); d->dataEngine->removeAllSources();

View File

@ -84,7 +84,7 @@ protected:
void setMinimumPollingInterval(int minimumMs); void setMinimumPollingInterval(int minimumMs);
int minimumPollingInterval() const; int minimumPollingInterval() const;
void setPollingInterval(uint frequency); void setPollingInterval(uint frequency);
void clearSources(); void removeAllSources();
private: private:
class Private; class Private;