Warning, /libraries/kirigami-addons/src/treeview/qml/TreeListView.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  *  SPDX-FileCopyrightText: 2020 Marco Martin <mart@kde.org>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 import QtQuick 2.12
0008 import 'private'
0009 
0010 /**
0011  * A ListView with an internal KDescendantsProxyModel already in place.
0012  * It also features tree node open and close animations.
0013  *
0014  * In order to use it, just assign the actual tree model you need.
0015  * Additional properties:
0016  * * sourceModel: the tree model we want to show
0017  * * descendantsModel: The used KDescendantsProxyModel instance
0018  * * expandsByDefault: If true, the tree view will be loaded completely expanded (default false)
0019  */
0020 InternalTreeListView {
0021     id: root
0022     property alias model: root.sourceModel
0023 }