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

0001 // SPDX-FileCopyrightText: 2020 Tobias Fella <tobias.fella@kde.org>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import QtQuick
0005 import QtQuick.Layouts
0006 
0007 import org.kde.kirigamiaddons.formcard as FormCard
0008 
0009 import org.kde.neochat
0010 
0011 LoginStep {
0012     id: root
0013 
0014     onActiveFocusChanged: if (activeFocus) {
0015         loginPasswordButton.forceActiveFocus();
0016     }
0017 
0018     FormCard.FormButtonDelegate {
0019         id: loginPasswordButton
0020         text: i18nc("@action:button", "Login with password")
0021         onClicked: processed("qrc:/org/kde/neochat/qml/Password.qml")
0022     }
0023 
0024     FormCard.FormButtonDelegate {
0025         id: loginSsoButton
0026         text: i18nc("@action:button", "Login with single sign-on")
0027         onClicked: processed("qrc:/org/kde/neochat/qml/Sso.qml")
0028     }
0029 }