Warning, /network/neochat/src/qml/Security.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2023 Tobias Fella <tobias.fella@kde.org>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import QtQuick
0005 import QtQuick.Controls
0006 
0007 import org.kde.kirigami as Kirigami
0008 import org.kde.kirigamiaddons.formcard as FormCard
0009 
0010 import org.kde.neochat
0011 
0012 FormCard.FormCardPage {
0013     id: root
0014 
0015     required property NeoChatConnection connection
0016 
0017     title: i18nc("@title", "Security")
0018 
0019     FormCard.FormHeader {
0020         title: i18nc("@title", "Keys")
0021     }
0022     FormCard.FormCard {
0023         FormCard.FormTextDelegate {
0024             text: connection.deviceKey
0025             description: i18n("Device key")
0026         }
0027         FormCard.FormTextDelegate {
0028             text: connection.encryptionKey
0029             description: i18n("Encryption key")
0030         }
0031         FormCard.FormTextDelegate {
0032             text: connection.deviceId
0033             description: i18n("Device id")
0034         }
0035     }
0036 }