diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-17 21:28:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-17 21:34:53 +0200 |
commit | cb33be1c50b68d6022f344ddac923c7aac3a11d5 (patch) | |
tree | 1840e3f9829aa69f10f81804f655e97be3f2eca8 /options/scoped.cpp | |
parent | 41ba8aa5329c16a797140dc23650ef45f42753a3 (diff) |
move options framework into its own library
- adjust usages
- add support for QList signals and metatype
Diffstat (limited to 'options/scoped.cpp')
-rw-r--r-- | options/scoped.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/options/scoped.cpp b/options/scoped.cpp new file mode 100644 index 00000000..e1ddbae2 --- /dev/null +++ b/options/scoped.cpp @@ -0,0 +1,14 @@ +#include "scoped.hpp" + +namespace options { + +opts::~opts() +{ + b->reload(); +} + +opts::opts(const QString &name) : b(make_bundle(name)) +{ +} + +} |