Commit 4b870c40 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Improved documentation of new saveSettings functions.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8907b102
......@@ -112,7 +112,8 @@ signals:
virtual void addMenubarAction(QAction* _action, QString _name ) {};
/** \brief Add multiple actions to the menu bar.
* Does the same as multiple calls to addMenubarAction except
* it doesn't insert a separator between the individual items.
......@@ -1638,6 +1638,9 @@ void Core::setDescriptions(){
emit setSlotDescription("saveAllObjectsTo()", tr("Saves all target objects. The locations can be chosen in dialogs. "
"(only works if GUI is available)"),QStringList(), QStringList());
emit setSlotDescription("saveSettings()", tr("Show the dialog to save the current setting. (only works if GUI is available)"),QStringList(), QStringList());
emit setSlotDescription("saveSettings(QString, bool, bool, bool, bool, bool, bool)", tr("Save the current setting to the supplied file."),
QStringList(tr("Path of the file to save the settings to.;Save objects in current setting.;Restrict to targeted objects.;<no idea what this parameter does>;Prompt before overwriting files that already exist (gui mode only).;Save "TOSTRING(PRODUCT_NAME)" program settings.;Save plugin settings.").split(";")));
//load slots
emit setSlotDescription("loadObject()", tr("Show the dialog to load an object. (only works if GUI is available)"),QStringList(), QStringList());
emit setSlotDescription("loadObject(QString)", tr("Load an object specified in file filename. This automatically determines which file plugin to use."),
Supports Markdown
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