diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-03-02 11:39:29 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-03-02 11:39:29 +0100 |
commit | cbcb2e305fb02853234e5394c4202b1150026d81 (patch) | |
tree | 0cde498889b3221afefba6fb6fd9439722308d44 /framework/src/domain/contactcontroller.h | |
parent | 12c24448cd42f5ab4f64b75352058ce0dc5a3c49 (diff) | |
download | kube-cbcb2e305fb02853234e5394c4202b1150026d81.tar.gz kube-cbcb2e305fb02853234e5394c4202b1150026d81.zip |
add listcontrollers for phoneNumbers and emails to the contact controller
Diffstat (limited to 'framework/src/domain/contactcontroller.h')
-rw-r--r-- | framework/src/domain/contactcontroller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/src/domain/contactcontroller.h b/framework/src/domain/contactcontroller.h index 72d8eee1..102f6bef 100644 --- a/framework/src/domain/contactcontroller.h +++ b/framework/src/domain/contactcontroller.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <QObject> | 22 | #include <QObject> |
23 | #include <QString> | 23 | #include <QString> |
24 | #include <QStringList> | 24 | #include <QStringList> |
25 | #include <QStandardItemModel> | ||
25 | 26 | ||
26 | #include "controller.h" | 27 | #include "controller.h" |
27 | 28 | ||
@@ -43,6 +44,9 @@ class ContactController : public Kube::Controller | |||
43 | KUBE_CONTROLLER_PROPERTY(QString, JobTitle, jobTitle) | 44 | KUBE_CONTROLLER_PROPERTY(QString, JobTitle, jobTitle) |
44 | KUBE_CONTROLLER_PROPERTY(QByteArray, ImageData, imageData) | 45 | KUBE_CONTROLLER_PROPERTY(QByteArray, ImageData, imageData) |
45 | 46 | ||
47 | KUBE_CONTROLLER_LISTCONTROLLER(mails) | ||
48 | KUBE_CONTROLLER_LISTCONTROLLER(phones) | ||
49 | |||
46 | KUBE_CONTROLLER_ACTION(save) | 50 | KUBE_CONTROLLER_ACTION(save) |
47 | 51 | ||
48 | public: | 52 | public: |