remove tdata accessor again
This commit is contained in:
parent
f9502edb14
commit
95aa0eee7d
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user