Warning, /plasma/plasma-systemmonitor/src/page/DialogLoader.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Arjen Hiemstra <ahiemstra@heimr.nl> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 import QtQuick 0008 0009 Loader { 0010 width: parent.width 0011 height: parent.height 0012 0013 function open() { 0014 if (item) { 0015 item.open() 0016 } else { 0017 active = true; 0018 } 0019 } 0020 0021 onLoaded: item.open() 0022 0023 active: false 0024 asynchronous: true 0025 }