diff options
Diffstat (limited to 'pokescripting/Config.h')
| -rw-r--r-- | pokescripting/Config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pokescripting/Config.h b/pokescripting/Config.h index 338c4bb6..7d66807b 100644 --- a/pokescripting/Config.h +++ b/pokescripting/Config.h @@ -41,12 +41,13 @@ class POKESCRIPTING_EXPORT Config : public QObject public: Config(QObject* parent); + + Q_SCRIPTABLE QVariant value(const QString& name, const bool recursive = true) const; + Q_SCRIPTABLE bool hasValue(const QString& name, const bool recursive = false) const; public slots: void addValue(const QString& name, const QVariant& value); void setValue(const QString& name, const QVariant& value); void removeValue(const QString& name); - QVariant value(const QString& name, const bool recursive = true) const; - bool hasValue(const QString& name, const bool recursive = false) const; virtual void writeBack(); private: |
