summaryrefslogtreecommitdiff
path: root/LocalPluginOptions.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
commitbd56579c7d9de94c17287adefa118290e6b7ba33 (patch)
tree666d7d0b6945b442573b7a3145969f66a53aa460 /LocalPluginOptions.h
parentb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (diff)
New upstream version 1.4.0.3
Diffstat (limited to 'LocalPluginOptions.h')
-rw-r--r--LocalPluginOptions.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/LocalPluginOptions.h b/LocalPluginOptions.h
index 623f418..9f30f2f 100644
--- a/LocalPluginOptions.h
+++ b/LocalPluginOptions.h
@@ -21,19 +21,19 @@ class LocalPluginOptions : public OptionInterface
{
Q_OBJECT
public:
- explicit LocalPluginOptions(const QString &group);
+ explicit LocalPluginOptions(const std::string &group);
~LocalPluginOptions();
/// \brief To add option group to options
- bool addOptionGroup(const QList<QPair<QString, QVariant> > &KeysList);
+ bool addOptionGroup(const std::vector<std::pair<std::string, std::string> > &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;
+ std::string getOptionValue(const std::string &variableName) const;
/// \brief To set option value
- void setOptionValue(const QString &variableName,const QVariant &value);
+ void setOptionValue(const std::string &variableName,const std::string &value);
protected:
//for the options
- QString group;
+ std::string group;
bool groupOptionAdded;
/*public slots:-> disabled because the value will not externaly changed, then useless notification
void newOptionValue(QString group,QString variable,QVariant value);*/