summaryrefslogtreecommitdiff
path: root/LocalPluginOptions.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 /LocalPluginOptions.h
parente297dbd8052ef4e66f069e2dd1865ae7fa8af28e (diff)
New upstream version 1.2.3.6
Diffstat (limited to 'LocalPluginOptions.h')
-rw-r--r--LocalPluginOptions.h33
1 files changed, 15 insertions, 18 deletions
diff --git a/LocalPluginOptions.h b/LocalPluginOptions.h
index f5ee463..623f418 100644
--- a/LocalPluginOptions.h
+++ b/LocalPluginOptions.h
@@ -1,8 +1,6 @@
/** \file LocalPluginOptions.h
\brief To bind the options of the plugin, into unique group options
\author alpha_one_x86
-\version 0.3
-\date 2010
\licence GPL3, see the file COPYING */
#ifndef LOCALPLUGINOPTIONS_H
@@ -21,25 +19,24 @@
*/
class LocalPluginOptions : public OptionInterface
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit LocalPluginOptions(const QString &group);
- ~LocalPluginOptions();
- /// \brief To add option group to options
- bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList);
- /*/// \brief To remove option group to options, removed to the load plugin
- bool removeOptionGroup();*/
- /// \brief To get option value
- QVariant getOptionValue(const QString &variableName);
- /// \brief To set option value
- void setOptionValue(const QString &variableName,const QVariant &value);
+ explicit LocalPluginOptions(const QString &group);
+ ~LocalPluginOptions();
+ /// \brief To add option group to options
+ bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList);
+ /*/// \brief To remove option group to options, removed to the load plugin
+ bool removeOptionGroup();*/
+ /// \brief To get option value
+ QVariant getOptionValue(const QString &variableName) const;
+ /// \brief To set option value
+ void setOptionValue(const QString &variableName,const QVariant &value);
protected:
- //for the options
- OptionEngine *options;
- QString group;
- bool groupOptionAdded;
+ //for the options
+ QString group;
+ bool groupOptionAdded;
/*public slots:-> disabled because the value will not externaly changed, then useless notification
- void newOptionValue(QString group,QString variable,QVariant value);*/
+ void newOptionValue(QString group,QString variable,QVariant value);*/
};
#endif // LOCALPLUGINOPTIONS_H