Warning, /network/neochat/src/qml/Loading.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-3.0-only
0003 
0004 import QtQuick
0005 import QtQuick.Controls as QQC2
0006 import QtQuick.Layouts
0007 
0008 import org.kde.kirigamiaddons.formcard as FormCard
0009 
0010 import org.kde.neochat
0011 
0012 LoginStep {
0013     id: root
0014 
0015     FormCard.FormTextDelegate {
0016         text: i18n("Please wait. This might take a little while.")
0017     }
0018     FormCard.AbstractFormDelegate {
0019         contentItem: QQC2.BusyIndicator {}
0020         background: null
0021     }
0022 
0023     Connections {
0024         target: Controller
0025         function onConnectionAdded(connection) {
0026             connection.syncDone.connect(() => root.closeDialog());
0027         }
0028     }
0029 }