From 95ac4ede6e371b89839ceb0c70e8c33c55f04053 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 4 Apr 2015 02:13:05 +0200 Subject: add agenda support --- saltoqd/settings.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 saltoqd/settings.cpp (limited to 'saltoqd/settings.cpp') 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(); + } +} -- cgit v1.2.3