summaryrefslogtreecommitdiffstats
path: root/sigscript/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/Config.cpp')
-rw-r--r--sigscript/Config.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/sigscript/Config.cpp b/sigscript/Config.cpp
index a0739591..6460053c 100644
--- a/sigscript/Config.cpp
+++ b/sigscript/Config.cpp
@@ -18,12 +18,12 @@
// Header include
#include "Config.h"
-Pokescripting::Config::Config(QObject* parent) :
+Sigscript::Config::Config(QObject* parent) :
QObject(parent)
{
}
-void Pokescripting::Config::addValue(const QString& name, const QVariant& value, const bool temporary)
+void Sigscript::Config::addValue(const QString& name, const QVariant& value, const bool temporary)
{
if (!m_values.contains(name))
{
@@ -32,7 +32,7 @@ void Pokescripting::Config::addValue(const QString& name, const QVariant& value,
}
}
-void Pokescripting::Config::setValue(const QString& name, const QVariant& value, const bool temporary)
+void Sigscript::Config::setValue(const QString& name, const QVariant& value, const bool temporary)
{
const QVariant& oldValue = m_values[name];
m_values[name] = value;
@@ -46,14 +46,14 @@ void Pokescripting::Config::setValue(const QString& name, const QVariant& value,
emit(valueChanged(name, oldValue, value));
}
-void Pokescripting::Config::removeValue(const QString& name)
+void Sigscript::Config::removeValue(const QString& name)
{
m_values.remove(name);
m_temporaries.removeAll(name);
emit(valueRemoved(name));
}
-QVariant Pokescripting::Config::value(const QString& name, const bool recursive) const
+QVariant Sigscript::Config::value(const QString& name, const bool recursive) const
{
if (m_values.contains(name))
return m_values[name];
@@ -70,7 +70,7 @@ QVariant Pokescripting::Config::value(const QString& name, const bool recursive)
return QVariant();
}
-bool Pokescripting::Config::hasValue(const QString& name, const bool recursive) const
+bool Sigscript::Config::hasValue(const QString& name, const bool recursive) const
{
if (m_values.contains(name))
return true;
@@ -79,12 +79,12 @@ bool Pokescripting::Config::hasValue(const QString& name, const bool recursive)
return false;
}
-void Pokescripting::Config::clearTemporary()
+void Sigscript::Config::clearTemporary()
{
while (m_temporaries.size())
removeValue(m_temporaries[0]);
}
-void Pokescripting::Config::writeBack()
+void Sigscript::Config::writeBack()
{
}