From b3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Fri, 24 Nov 2017 23:24:09 +0000 Subject: New upstream version 1.2.3.6 --- LocalPluginOptions.h | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) (limited to 'LocalPluginOptions.h') 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 > &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 > &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 -- cgit v1.2.3