From b11be618b049add192be2b76aa1c4fd020e65b5b Mon Sep 17 00:00:00 2001 From: Anne-Marie Mahfouf Date: Thu, 24 Apr 2008 07:15:26 +0000 Subject: [PATCH] API review SIGNAL newSource() -> sourceAdded() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800395 --- dataengine.cpp | 6 +++--- dataengine.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dataengine.cpp b/dataengine.cpp index f03bda4a1..e45c05218 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -358,7 +358,7 @@ void DataEngine::setData(const QString& source, const QString& key, const QVaria s->setData(key, value); if (isNew) { - emit newSource(source); + emit sourceAdded(source); } d->queueUpdate(); @@ -380,7 +380,7 @@ void DataEngine::setData(const QString &source, const Data &data) } if (isNew) { - emit newSource(source); + emit sourceAdded(source); } d->queueUpdate(); @@ -414,7 +414,7 @@ void DataEngine::addSource(DataContainer* source) } d->sources.insert(source->objectName(), source); - emit newSource(source->objectName()); + emit sourceAdded(source->objectName()); } void DataEngine::setSourceLimit(uint limit) diff --git a/dataengine.h b/dataengine.h index be3c079ff..cf4b83752 100644 --- a/dataengine.h +++ b/dataengine.h @@ -214,7 +214,7 @@ class PLASMA_EXPORT DataEngine : public QObject * Emitted when a new data source is created * @param source the name of the new data source **/ - void newSource(const QString& source); + void sourceAdded(const QString& source); /** * Emitted when a data source is removed.