Warning, /frameworks/knewstuff/src/tools/knewstuff-dialog/qml/dialog.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2019 Dan Leinir Turthra Jensen <admin@leinir.dk> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 import QtQuick 2.7 0008 import org.kde.newstuff 1.62 as NewStuff 0009 0010 NewStuff.Dialog { 0011 id: component 0012 configFile: knsrcfile 0013 Component.onCompleted: { 0014 open(); 0015 if (typeof(knsProviderId) !== "undefined" && typeof(knsEntryId) !== "undefined") { 0016 showEntryDetails(knsProviderId, knsEntryId); 0017 } 0018 } 0019 onVisibleChanged: { 0020 if (visible === false) { 0021 Qt.quit(); 0022 } 0023 } 0024 }