naming consistency

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674143
This commit is contained in:
Aaron J. Seigo 2007-06-11 21:10:44 +00:00
parent 13a83e87f8
commit 5957c71110
2 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ class DataEngine::Private
{ {
while (sourceQueue.count() >= limit) { while (sourceQueue.count() >= limit) {
DataSource* punted = sourceQueue.dequeue(); DataSource* punted = sourceQueue.dequeue();
engine->removeDataSource(punted->objectName()); engine->removeSource(punted->objectName());
} }
} }
@ -143,7 +143,7 @@ void DataEngine::connectSource(const QString& source, QObject* visualization) co
if (s) { if (s) {
// now we have a source; since it was created on demand, assume // now we have a source; since it was created on demand, assume
// it should be removed when not used // it should be removed when not used
connect(s, SIGNAL(unused(QString)), this, SLOT(removeDataSource(QString))); connect(s, SIGNAL(unused(QString)), this, SLOT(removeSource(QString)));
} }
} }
} }
@ -257,7 +257,7 @@ Plasma::DataSource* DataEngine::createDataSource(const QString& source, const QS
} }
}*/ }*/
void DataEngine::removeDataSource(const QString& source) void DataEngine::removeSource(const QString& source)
{ {
//kDebug() << "removing source " << source << endl; //kDebug() << "removing source " << source << endl;
SourceDict::iterator it = d->sources.find(source); SourceDict::iterator it = d->sources.find(source);

View File

@ -253,7 +253,7 @@ class PLASMA_EXPORT DataEngine : public QObject
* Removes a data source. * Removes a data source.
* @param source the name of the data source to remove * @param source the name of the data source to remove
**/ **/
void removeDataSource(const QString& source); void removeSource(const QString& source);
private: private:
class Private; class Private;