remove tdata accessor again

This commit is contained in:
Sebastian Kügler 2013-07-03 00:41:54 +02:00
parent f9502edb14
commit 95aa0eee7d
2 changed files with 0 additions and 12 deletions

View File

@ -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);

View File

@ -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