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:
parent
cbd1fa335c
commit
fd7ba8497a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user