[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma/scripting
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-05-19 19:58:47
Message-ID: 20100519200421.E88DDAC8BB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1128639 by aseigo:
missing method
M +7 -0 dataenginescript.cpp
M +9 -0 dataenginescript.h
--- trunk/KDE/kdelibs/plasma/scripting/dataenginescript.cpp #1128638:1128639
@@ -109,6 +109,13 @@
}
}
+void DataEngineScript::setData(const QString &source, const DataEngine::Data &values)
+{
+ if (d->dataEngine) {
+ d->dataEngine->setData(source, values);
+ }
+}
+
void DataEngineScript::removeAllData(const QString &source)
{
if (d->dataEngine) {
--- trunk/KDE/kdelibs/plasma/scripting/dataenginescript.h #1128638:1128639
@@ -119,6 +119,15 @@
void setData(const QString &source, const QString &key,
const QVariant &value);
void setData(const QString &source, const QVariant &value);
+
+ /**
+ * Adds a set of values to a source
+ * @param source the name of the source to set the data on
+ * @values a key/value collection to add to the source
+ * @since 4.5
+ */
+ void setData(const QString &source, const DataEngine::Data &values);
+
void removeAllData(const QString &source);
void removeData(const QString &source, const QString &key);
void setMaxSourceCount(uint limit);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic