Warning, /network/kdenetwork-filesharing/samba/filepropertiesplugin/qml/MissingSambaPage.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003     SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
0004 */
0005 
0006 import QtQuick 2.12
0007 import QtQuick.Controls 2.5 as QQC2
0008 import QtQuick.Layouts 1.14
0009 import org.kde.kirigami 2.4 as Kirigami
0010 import org.kde.filesharing.samba 1.0 as Samba
0011 
0012 // When built without packagekit we cannot do auto-installation.
0013 ColumnLayout {
0014     QQC2.Label {
0015         Layout.alignment: Qt.AlignHCenter
0016         Layout.fillWidth: true
0017         text: xi18nc("@info", "The <application>Samba</application> file sharing service must be installed before folders can be shared.")
0018         explanation: i18n("Because this distro does not include PackageKit, we cannot show you a nice \"Install it\" button, and you will have to use your package manager to install the <command>samba</command> server package manually.")
0019         wrapMode: Text.Wrap
0020     }
0021     Item {
0022         Layout.alignment: Qt.AlignHCenter
0023         Layout.fillHeight: true // space everything up
0024     }
0025 }