From efc12645929346b4e128fe3e15ddd4ba8578ef1a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 4 Apr 2013 16:53:55 +0200 Subject: [PATCH] use QHash instead of Data don't use extra typedefs in signatures --- src/plasma/dataengine.cpp | 2 +- src/plasma/dataengine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plasma/dataengine.cpp b/src/plasma/dataengine.cpp index ebeecc722..1b5edfe08 100644 --- a/src/plasma/dataengine.cpp +++ b/src/plasma/dataengine.cpp @@ -190,7 +190,7 @@ void DataEngine::setData(const QString &source, const QString &key, const QVaria d->scheduleSourcesUpdated(); } -void DataEngine::setData(const QString &source, const Data &data) +void DataEngine::setData(const QString &source, const QHash &data) { DataContainer *s = d->source(source, false); bool isNew = !s; diff --git a/src/plasma/dataengine.h b/src/plasma/dataengine.h index 448735556..2f49fc325 100644 --- a/src/plasma/dataengine.h +++ b/src/plasma/dataengine.h @@ -339,7 +339,7 @@ NoAlignment) const; * @param source the name of the data source * @param data the data to add to the source **/ - void setData(const QString &source, const Data &data); + void setData(const QString &source, const QHash &data); /** * Removes all the data associated with a data source.