diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 22:30:07 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 22:30:07 +0100 |
commit | fd31aa9b05ea215e8071cf76fe21ec746204f3a3 (patch) | |
tree | fd656cf389060e6a5c7ef3253d3337e0a48864c8 /accounts/maildir/maildiraccountplugin.h | |
parent | 54c3e5912b0d64bad5a1c66bc96f0552ac5e21f5 (diff) | |
download | kube-fd31aa9b05ea215e8071cf76fe21ec746204f3a3.tar.gz kube-fd31aa9b05ea215e8071cf76fe21ec746204f3a3.zip |
Added a maildir configuration controller that can edit the config in
sink.
The property binding only works when using actual QObject::property'ies.
It doesn't work at all with Q_PROPERTY, even with a NOTIFY signal.
Diffstat (limited to 'accounts/maildir/maildiraccountplugin.h')
-rw-r--r-- | accounts/maildir/maildiraccountplugin.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/accounts/maildir/maildiraccountplugin.h b/accounts/maildir/maildiraccountplugin.h new file mode 100644 index 00000000..aad73dd6 --- /dev/null +++ b/accounts/maildir/maildiraccountplugin.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <QQmlEngine> | ||
4 | #include <QQmlExtensionPlugin> | ||
5 | |||
6 | class MaildirAccountPlugin : public QQmlExtensionPlugin | ||
7 | { | ||
8 | Q_OBJECT | ||
9 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
10 | |||
11 | public: | ||
12 | virtual void registerTypes(const char *uri); | ||
13 | }; | ||