summaryrefslogtreecommitdiffstats
path: root/views/people/qml/View.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/people/qml/View.qml')
-rw-r--r--views/people/qml/View.qml38
1 files changed, 38 insertions, 0 deletions
diff --git a/views/people/qml/View.qml b/views/people/qml/View.qml
new file mode 100644
index 00000000..3f1b9261
--- /dev/null
+++ b/views/people/qml/View.qml
@@ -0,0 +1,38 @@
1/*
2 * Copyright (C) 2017 Michael Bohlender, <michael.bohlender@kdemail.net>
3 * Copyright (C) 2017 Christian Mollekopf, <mollekopf@kolabsys.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19
20
21import QtQuick 2.7
22import QtQuick.Controls 2.1
23import org.kube.framework 1.0 as Kube
24
25Item {
26
27 StackView.onActivated: {
28 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contacts"})
29 }
30
31 Kube.People {
32 id: people
33 anchors {
34 fill: parent
35 margins: Kube.Units.smallSpacing
36 }
37 }
38}