Warning, /pim/kube/views/people/qml/View.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 * Copyright (C) 2017 Michael Bohlender, <michael.bohlender@kdemail.net>
0003 * Copyright (C) 2017 Christian Mollekopf, <mollekopf@kolabsys.com>
0004 *
0005 * This program is free software; you can redistribute it and/or modify
0006 * it under the terms of the GNU General Public License as published by
0007 * the Free Software Foundation; either version 2 of the License, or
0008 * (at your option) any later version.
0009 *
0010 * This program is distributed in the hope that it will be useful,
0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0013 * GNU General Public License for more details.
0014 *
0015 * You should have received a copy of the GNU General Public License along
0016 * with this program; if not, write to the Free Software Foundation, Inc.,
0017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
0018 */
0019
0020
0021 import QtQuick 2.7
0022 import QtQuick.Controls 2.1
0023 import QtQuick.Layouts 1.1
0024 import org.kube.framework 1.0 as Kube
0025
0026 Kube.View {
0027
0028 onRefresh: {
0029 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "addressbook"})
0030 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contact"})
0031 }
0032
0033 People {
0034 id: people
0035 Layout.fillWidth: true
0036 Layout.fillHeight: true
0037 Layout.margins: Kube.Units.smallSpacing
0038 }
0039 }