summaryrefslogtreecommitdiff
path: root/saltoqd/settings.cpp
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-04-04 02:13:05 +0200
committerJavier <dev.git@javispedro.com>2015-04-04 02:13:05 +0200
commit95ac4ede6e371b89839ceb0c70e8c33c55f04053 (patch)
tree2514d2341c83b5bef32c02ced945ab364226cf6f /saltoqd/settings.cpp
parentdd1fc613da7ffa9039495f6c3fe466feae074019 (diff)
downloadsaltoq-95ac4ede6e371b89839ceb0c70e8c33c55f04053.tar.gz
saltoq-95ac4ede6e371b89839ceb0c70e8c33c55f04053.zip
add agenda support
Diffstat (limited to 'saltoqd/settings.cpp')
-rw-r--r--saltoqd/settings.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/saltoqd/settings.cpp b/saltoqd/settings.cpp
new file mode 100644
index 0000000..b5f1815
--- /dev/null
+++ b/saltoqd/settings.cpp
@@ -0,0 +1,15 @@
+#include "settings.h"
+
+Settings::Settings(const QString &path, QObject *parent) :
+ MDConfGroup(path, parent, BindProperties)
+{
+ resolveMetaObject();
+}
+
+void Settings::setAddress(const QString &addr)
+{
+ if (addr != _address) {
+ _address = addr;
+ emit addressChanged();
+ }
+}