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

Improved documentation of new saveSettings functions.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17076 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c86863a2
...@@ -112,7 +112,8 @@ signals: ...@@ -112,7 +112,8 @@ signals:
*/ */
virtual void addMenubarAction(QAction* _action, QString _name ) {}; virtual void addMenubarAction(QAction* _action, QString _name ) {};
/** /** \brief Add multiple actions to the menu bar.
*
* Does the same as multiple calls to addMenubarAction except * Does the same as multiple calls to addMenubarAction except
* it doesn't insert a separator between the individual items. * it doesn't insert a separator between the individual items.
*/ */
......
...@@ -1638,6 +1638,9 @@ void Core::setDescriptions(){ ...@@ -1638,6 +1638,9 @@ void Core::setDescriptions(){
emit setSlotDescription("saveAllObjectsTo()", tr("Saves all target objects. The locations can be chosen in dialogs. " emit setSlotDescription("saveAllObjectsTo()", tr("Saves all target objects. The locations can be chosen in dialogs. "
"(only works if GUI is available)"),QStringList(), QStringList()); "(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()", 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("filePath,is_saveObjectInfo,is_targetOnly,is_saveAll,is_askOverwrite,is_saveProgramSettings,is_savePluginSettings").split(",")),
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 //load slots
emit setSlotDescription("loadObject()", tr("Show the dialog to load an object. (only works if GUI is available)"),QStringList(), QStringList()); 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."), emit setSlotDescription("loadObject(QString)", tr("Load an object specified in file filename. This automatically determines which file plugin to use."),
......
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