Commit 4169cc20 authored by Matthias Möller's avatar Matthias Möller

complete and fix scriptfunction description

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16241 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a2a7657
......@@ -52,6 +52,12 @@
void DataControlPlugin::setDescriptions(){
emit setSlotDescription("getSourceObjects(DataType)",tr("Returns the IdList of all source objects with given DataType."),
QStringList(tr("Datatype")), QStringList(tr("Datatype of the objects")));
emit setSlotDescription("getTargetObjects(DataType)",tr("Returns the IdList of all target objects with given DataType."),
QStringList(tr("Datatype")), QStringList(tr("Datatype of the objects")));
emit setSlotDescription("getObject(QString)",tr("Returns the id of an object with given name."),
QStringList(tr("Name")), QStringList(tr("Name of an object")));
......@@ -79,11 +85,11 @@ void DataControlPlugin::setDescriptions(){
QString(tr("ObjectId,name")).split(","),
QString(tr("id of the object, the new name")).split(","));
emit setSlotDescription("groupObjects(idList,QString)",tr("Group given Objects together."),
emit setSlotDescription("groupObjects(IdList,QString)",tr("Group given Objects together."),
QString(tr("objectIds,groupName")).split(","),
QString(tr("List of objects that should be grouped., Name of the group.")).split(","));
emit setSlotDescription("groupObjects(idList)",tr("Group given Objects together."),
emit setSlotDescription("groupObjects(IdList)",tr("Group given Objects together."),
QStringList(tr("objectIds")), QStringList(tr("List of objects that should be grouped.")));
emit setSlotDescription("groupCount()",tr("Returns the number of group objects."),
......@@ -536,7 +542,7 @@ IdList DataControlPlugin::getTargetObjects(DataType _type) {
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS, _type); o_it != PluginFunctions::objectsEnd(); ++o_it)
list.push_back( o_it->id() );
return list;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment