Use QVariantMap for data argument in newData

We need to pass the data as QVariantMap to the QML runtime, otherwise
the object can't be decoded client-side.
This commit is contained in:
Sebastian Kügler 2013-08-27 04:26:00 +02:00
parent cbd1fa335c
commit fd7ba8497a

View File

@ -116,7 +116,7 @@ protected Q_SLOTS:
void setupData();
Q_SIGNALS:
void newData(const QString &sourceName, const Plasma::DataEngine::Data &data);
void newData(const QString &sourceName, const QVariantMap &data);
void sourceAdded(const QString &source);
void sourceRemoved(const QString &source);
void sourceConnected(const QString &source);