summaryrefslogtreecommitdiff
path: root/interface/OptionInterface.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2017-11-24 23:24:09 +0000
committerThomas Preud'homme <robotux@celest.fr>2017-11-24 23:24:09 +0000
commitb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (patch)
tree8fce8a51adfb245db8ab2a76831661780c0c713e /interface/OptionInterface.h
parente297dbd8052ef4e66f069e2dd1865ae7fa8af28e (diff)
New upstream version 1.2.3.6
Diffstat (limited to 'interface/OptionInterface.h')
-rw-r--r--interface/OptionInterface.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/interface/OptionInterface.h b/interface/OptionInterface.h
index 2be66cb..9638170 100644
--- a/interface/OptionInterface.h
+++ b/interface/OptionInterface.h
@@ -1,8 +1,7 @@
/** \file OptionInterface.h
\brief Define the class of the option engine
\author alpha_one_x86
-\version 0.3
-\date 2010 */
+\licence GPL3, see the file COPYING */
#ifndef OPTION_INTERFACE_H
#define OPTION_INTERFACE_H
@@ -19,19 +18,19 @@
* **/
class OptionInterface : public QObject
{
- Q_OBJECT
- public:
- /// \brief To add option group to options
- virtual bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList) = 0;
- /*/// \brief To remove option group to options, removed to the load plugin
- virtual bool removeOptionGroup() = 0;*/
- /// \brief To get option value
- virtual QVariant getOptionValue(const QString &variableName) = 0;
- /// \brief To set option value
- virtual void setOptionValue(const QString &variableName,const QVariant &value) = 0;
- signals:
- //void newOptionValue(QString,QVariant);-> disabled because the value will not externally changed, then useless notification
- void resetOptions();
+ Q_OBJECT
+ public:
+ /// \brief To add option group to options
+ virtual bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList) = 0;
+ /*/// \brief To remove option group to options, removed to the load plugin
+ virtual bool removeOptionGroup() = 0;*/
+ /// \brief To get option value
+ virtual QVariant getOptionValue(const QString &variableName) const = 0;
+ /// \brief To set option value
+ virtual void setOptionValue(const QString &variableName,const QVariant &value) = 0;
+ signals:
+ //void newOptionValue(QString,QVariant);-> disabled because the value will not externally changed, then useless notification
+ void resetOptions() const;
};
#endif // OPTION_INTERFACE_H