Warning, /network/tokodon/src/content/ui/ListPage.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 import QtQuick 0005 import org.kde.kirigami 2 as Kirigami 0006 import org.kde.tokodon 0007 0008 TimelinePage { 0009 id: root 0010 0011 property alias listId: timelineModel.listId 0012 required property string name 0013 0014 title: name 0015 0016 showPostAction: false 0017 0018 actions: Kirigami.Action { 0019 text: i18n("Edit List") 0020 icon.name: "edit-rename" 0021 onTriggered: { 0022 pageStack.layers.push(Qt.createComponent("org.kde.tokodon", "EditListPage"), { 0023 purpose: EditListPage.Edit, 0024 listId: root.listId 0025 }); 0026 } 0027 } 0028 model: MainTimelineModel { 0029 id: timelineModel 0030 name: "list" 0031 } 0032 }