Warning, /network/kdenetwork-filesharing/samba/filepropertiesplugin/qml/RebootPage.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.12 as Kirigami
0010 import org.kde.filesharing.samba 1.0 as Samba
0011 
0012 Item {
0013     Kirigami.PlaceholderMessage {
0014         anchors.centerIn: parent
0015         width: parent.width
0016 
0017         text: i18nc("@label", "Restart the computer to complete the changes.")
0018         helpfulAction: Kirigami.Action {
0019             icon.name: "system-restart"
0020             text: i18nc("@button restart the system", "Restart")
0021             onTriggered: sambaPlugin.reboot()
0022         }
0023     }
0024 }