diff --git a/src/declarativeimports/core/datasource.cpp b/src/declarativeimports/core/datasource.cpp index 39e655950..929900fd4 100644 --- a/src/declarativeimports/core/datasource.cpp +++ b/src/declarativeimports/core/datasource.cpp @@ -150,15 +150,6 @@ void DataSource::dataUpdated(const QString &sourceName, const Plasma::DataEngine } } -QVariantMap DataSource::tdata() -{ - QVariantMap m; - foreach (const QString &k, m_data.keys()) { - m[k] = m_data[k]; - } - return m; -} - void DataSource::removeSource(const QString &source) { m_data.remove(source); diff --git a/src/declarativeimports/core/datasource.h b/src/declarativeimports/core/datasource.h index 4b5d01bee..8a8f01271 100644 --- a/src/declarativeimports/core/datasource.h +++ b/src/declarativeimports/core/datasource.h @@ -94,9 +94,6 @@ public: Q_PROPERTY(QVariantMap data READ data NOTIFY dataChanged); QVariantMap data() const {return m_data;} -// Q_PROPERTY(QVariantMap tdata READ tdata NOTIFY dataChanged); -// QVariantMap tdata(); - /** * @returns a Plasma::Service given a source name * @arg QString source source name we want a service of