Warning, /network/neochat/src/qml/Categories.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 import QtQuick 0005 import org.kde.kirigami as Kirigami 0006 import org.kde.kirigamiaddons.settings as KirigamiSettings 0007 import QtQuick.Layouts 0008 0009 import org.kde.neochat 0010 0011 KirigamiSettings.CategorizedSettings { 0012 id: root 0013 0014 property NeoChatRoom room 0015 required property NeoChatConnection connection 0016 0017 objectName: "settingsPage" 0018 actions: [ 0019 KirigamiSettings.SettingAction { 0020 actionName: "general" 0021 text: i18n("General") 0022 icon.name: "settings-configure" 0023 page: Qt.resolvedUrl("General.qml") 0024 initialProperties: { 0025 return { 0026 room: root.room, 0027 connection: root.connection 0028 }; 0029 } 0030 }, 0031 KirigamiSettings.SettingAction { 0032 actionName: "security" 0033 text: i18n("Security") 0034 icon.name: "security-low" 0035 page: Qt.resolvedUrl("RoomSecurity.qml") 0036 initialProperties: { 0037 return { 0038 room: root.room 0039 }; 0040 } 0041 }, 0042 KirigamiSettings.SettingAction { 0043 actionName: "permissions" 0044 text: i18n("Permissions") 0045 icon.name: "visibility" 0046 page: Qt.resolvedUrl("Permissions.qml") 0047 initialProperties: { 0048 return { 0049 room: root.room 0050 }; 0051 } 0052 }, 0053 KirigamiSettings.SettingAction { 0054 actionName: "notifications" 0055 text: i18n("Notifications") 0056 icon.name: "notifications" 0057 page: Qt.resolvedUrl("PushNotification.qml") 0058 initialProperties: { 0059 return { 0060 room: root.room 0061 }; 0062 } 0063 } 0064 ] 0065 }