2018-10-30 20:01:13 +00:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2018 Aleix Pol Gonzalez <aleixpol@kde.org>
|
|
|
|
* SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de>
|
|
|
|
* SPDX-FileCopyrightText: 2018 Simon Redman <simon@ergotech.com>
|
2018-10-30 20:01:13 +00:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2018-10-30 20:01:13 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
import QtQuick 2.1
|
2019-12-19 22:18:11 +00:00
|
|
|
import org.kde.kirigami 2.6 as Kirigami
|
2018-10-30 20:01:13 +00:00
|
|
|
import org.kde.kdeconnect 1.0
|
|
|
|
|
|
|
|
Kirigami.ApplicationWindow
|
|
|
|
{
|
|
|
|
id: root
|
|
|
|
visible: true
|
|
|
|
width: 800
|
|
|
|
height: 600
|
|
|
|
|
|
|
|
pageStack.initialPage: ConversationList {
|
2019-12-21 07:59:36 +00:00
|
|
|
title: i18nd("kdeconnect-sms", "KDE Connect SMS")
|
2020-05-21 18:50:30 +01:00
|
|
|
initialMessage: initialMessage
|
2018-10-30 20:01:13 +00:00
|
|
|
}
|
2019-12-19 22:18:11 +00:00
|
|
|
|
|
|
|
Component {
|
|
|
|
id: aboutPageComponent
|
|
|
|
Kirigami.AboutPage {}
|
|
|
|
}
|
|
|
|
|
|
|
|
globalDrawer: Kirigami.GlobalDrawer {
|
|
|
|
|
|
|
|
isMenu: true
|
|
|
|
|
|
|
|
actions: [
|
|
|
|
Kirigami.Action {
|
2019-12-21 07:59:36 +00:00
|
|
|
text: i18nd("kdeconnect-sms", "About...")
|
2019-12-19 22:18:11 +00:00
|
|
|
icon.name: "help-about"
|
|
|
|
onTriggered: {
|
|
|
|
applicationWindow().pageStack.push(aboutPageComponent, { aboutData: aboutData });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-10-30 20:01:13 +00:00
|
|
|
}
|