API review: DataContainer SIGNAL requestUpdate()->updateRequested()

Not used anywhere outside libs/plasma, not used in /extragear/plasma or /playground/base/plasma
Same case as SIGNAL unused()->becameUnused() as Kévin noted, can be moved to pimpl of DataContainer

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800587
This commit is contained in:
Anne-Marie Mahfouf 2008-04-24 13:09:21 +00:00
parent 18485b8659
commit 70985897bb
3 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ class PLASMA_EXPORT DataContainer : public QObject
* Emitted when the source, usually due to an internal timer firing,
* requests to be updated.
**/
void requestUpdate(DataContainer *source);
void updateRequested(DataContainer *source);
private:
friend class SignalRelay;

View File

@ -146,7 +146,7 @@ protected:
checkAlignment();
}
emit dc->requestUpdate(dc);
emit dc->updateRequested(dc);
if (!dc->hasUpdates()) {
// the source wasn't actually updated; so let's put ourselves in the queue
// so we get an dataUpdated() when the data does arrive

View File

@ -116,7 +116,7 @@ class DataEngine::Private
DataContainer* s = new DataContainer(engine);
s->setObjectName(sourceName);
sources.insert(sourceName, s);
connect(s, SIGNAL(requestUpdate(DataContainer*)), engine, SLOT(internalUpdateSource(DataContainer*)));
connect(s, SIGNAL(updateRequested(DataContainer*)), engine, SLOT(internalUpdateSource(DataContainer*)));
if (limit > 0) {
trimQueue();