Warning, /network/neochat/src/qml/SettingsPage.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     required property NeoChatConnection connection
0015 
0016     objectName: "settingsPage"
0017     actions: [
0018         KirigamiSettings.SettingAction {
0019             actionName: "general"
0020             text: i18n("General")
0021             icon.name: "org.kde.neochat"
0022             page: Qt.resolvedUrl("GeneralSettingsPage.qml")
0023         },
0024         KirigamiSettings.SettingAction {
0025             actionName: "appearance"
0026             text: i18n("Appearance")
0027             icon.name: "preferences-desktop-theme-global"
0028             page: Qt.resolvedUrl("AppearanceSettingsPage.qml")
0029         },
0030         KirigamiSettings.SettingAction {
0031             actionName: "notifications"
0032             text: i18n("Notifications")
0033             icon.name: "preferences-desktop-notification"
0034             page: Qt.resolvedUrl("GlobalNotificationsPage.qml")
0035             initialProperties: {
0036                 return {
0037                     connection: root.connection
0038                 };
0039             }
0040         },
0041         KirigamiSettings.SettingAction {
0042             actionName: "security"
0043             text: i18n("Security")
0044             icon.name: "preferences-security"
0045             page: Qt.resolvedUrl("Security.qml")
0046             initialProperties: {
0047                 return {
0048                     connection: root.connection
0049                 };
0050             }
0051         },
0052         KirigamiSettings.SettingAction {
0053             actionName: "accounts"
0054             text: i18n("Accounts")
0055             icon.name: "preferences-system-users"
0056             page: Qt.resolvedUrl("AccountsPage.qml")
0057         },
0058         KirigamiSettings.SettingAction {
0059             actionName: "emoticons"
0060             text: i18n("Stickers & Emojis")
0061             icon.name: "preferences-desktop-emoticons"
0062             page: Qt.resolvedUrl("EmoticonsPage.qml")
0063             initialProperties: {
0064                 return {
0065                     connection: root.connection
0066                 };
0067             }
0068         },
0069         KirigamiSettings.SettingAction {
0070             actionName: "spellChecking"
0071             text: i18n("Spell Checking")
0072             icon.name: "tools-check-spelling"
0073             page: Qt.resolvedUrl("SonnetConfigPage.qml")
0074             visible: Qt.platform.os !== "android"
0075         },
0076         KirigamiSettings.SettingAction {
0077             actionName: "networkProxy"
0078             text: i18n("Network Proxy")
0079             icon.name: "network-connect"
0080             page: Qt.resolvedUrl("NetworkProxyPage.qml")
0081         },
0082         KirigamiSettings.SettingAction {
0083             actionName: "devices"
0084             text: i18n("Devices")
0085             icon.name: "computer"
0086             page: Qt.resolvedUrl("DevicesPage.qml")
0087             initialProperties: {
0088                 return {
0089                     connection: root.connection
0090                 };
0091             }
0092         },
0093         KirigamiSettings.SettingAction {
0094             actionName: "aboutNeochat"
0095             text: i18n("About NeoChat")
0096             icon.name: "help-about"
0097             page: Qt.resolvedUrl("About.qml")
0098         },
0099         KirigamiSettings.SettingAction {
0100             actionName: "aboutKDE"
0101             text: i18n("About KDE")
0102             icon.name: "kde"
0103             page: Qt.resolvedUrl("AboutKDE.qml")
0104         }
0105     ]
0106 }