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:
parent
18485b8659
commit
70985897bb
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user