summaryrefslogtreecommitdiff
path: root/LocalPluginOptions.h
diff options
context:
space:
mode:
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);*/