use QHash<QString, QVariant> instead of Data

don't use extra typedefs in signatures
This commit is contained in:
Marco Martin 2013-04-04 16:53:55 +02:00
parent 41b3a17011
commit efc1264592
2 changed files with 2 additions and 2 deletions

View File

@ -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<QString, QVariant> &data)
{
DataContainer *s = d->source(source, false);
bool isNew = !s;

View File

@ -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<QString, QVariant> &data);
/**
* Removes all the data associated with a data source.