KNewStuff

dialog.qml
1/*
2 SPDX-FileCopyrightText: 2019 Dan Leinir Turthra Jensen <admin@leinir.dk>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7import QtQuick
8import org.kde.newstuff as NewStuff
9
10NewStuff.Dialog {
11 id: component
12 configFile: knsrcfile
13 Component.onCompleted: {
14 open();
15 if (typeof(knsProviderId) !== "undefined" && typeof(knsEntryId) !== "undefined") {
16 showEntryDetails(knsProviderId, knsEntryId);
17 }
18 }
19 onVisibleChanged: {
20 if (visible === false) {
21 Qt.quit();
22 }
23 }
24}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:54:38 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.