/** * SPDX-FileCopyrightText: 2018 Aleix Pol Gonzalez * SPDX-FileCopyrightText: 2018 Nicolas Fella * SPDX-FileCopyrightText: 2018 Simon Redman * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ import QtQuick 2.1 import org.kde.kirigami 2.6 as Kirigami import org.kde.kdeconnect 1.0 Kirigami.ApplicationWindow { id: root visible: true width: 800 height: 600 pageStack.initialPage: ConversationList { title: i18nd("kdeconnect-sms", "KDE Connect SMS") initialMessage: initialMessage } Component { id: aboutPageComponent Kirigami.AboutPage {} } globalDrawer: Kirigami.GlobalDrawer { isMenu: true actions: [ Kirigami.Action { text: i18nd("kdeconnect-sms", "About...") icon.name: "help-about" onTriggered: { applicationWindow().pageStack.push(aboutPageComponent, { aboutData: aboutData }); } } ] } }