Configuration is automaticly load and save from CONFIG_PATH/config.rc and from user home/.qtoctave.rc
#include <QString>
#include <QMap>
Go to the source code of this file.
Defines | |
| #define | HELP_PATH "/usr/local/share/qtoctave/octave_doc/octave.html" |
| #define | ICON_PATH "/usr/local/share/qtoctave/" |
| #define | QTOCTAVE_HELP_PATH "/usr/local/share/qtoctave/qtoctave_doc/index.html" |
| #define | CONFIG_PATH "/usr/local/share/qtoctave/" |
Functions | |
| const QString | get_config (char *parameter) |
| Gets config of parameter. | |
| void | set_config (QMap< QString, QString > configuration) |
| Sets config of parameter. | |
| #define CONFIG_PATH "/usr/local/share/qtoctave/" |
| #define HELP_PATH "/usr/local/share/qtoctave/octave_doc/octave.html" |
| #define ICON_PATH "/usr/local/share/qtoctave/" |
| #define QTOCTAVE_HELP_PATH "/usr/local/share/qtoctave/qtoctave_doc/index.html" |
| const QString get_config | ( | char * | parameter | ) |
Gets config of parameter.
| parameter | Parameter name. |
| void set_config | ( | QMap< QString, QString > | configuration | ) |
Sets config of parameter.
| configuration | Add a parameter with value. QMap key is parameter name. QMap value is parameter value. |
1.4.7