Warning, /network/tokodon/src/content/ui/ModerationTools/ModerationToolPage.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2023 Carl Schwan <carlschwan@kde.org>
0002 // SPDX-FileCopyrightText: 2023 Rishi Kumar <rsi.dev17@gmail.com>
0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 
0005 import QtQuick
0006 import org.kde.kirigami 2 as Kirigami
0007 import org.kde.kirigamiaddons.settings 1 as KirigamiSettings
0008 import QtQuick.Layouts
0009 
0010 KirigamiSettings.CategorizedSettings {
0011     objectName: "moderationToolPage"
0012     actions: [
0013         KirigamiSettings.SettingAction {
0014             actionName: "Accounts"
0015             text: i18nc("@title", "Accounts")
0016             icon.name: "user-identity"
0017             page: Qt.resolvedUrl("AccountToolPage.qml")
0018         },
0019         KirigamiSettings.SettingAction {
0020             actionName: "Reports"
0021             text: i18n("Reports")
0022             icon.name: "flag"
0023             page: Qt.resolvedUrl("ReportToolPage.qml")
0024         },
0025         KirigamiSettings.SettingAction {
0026             actionName: "Federation"
0027             text: i18nc("@title", "Federation")
0028             icon.name: "cloudstatus"
0029             page: Qt.resolvedUrl("FederationToolPage.qml")
0030         },
0031         KirigamiSettings.SettingAction {
0032             actionName: "IpRules"
0033             text: i18nc("@title", "IP Rules")
0034             icon.name: "cards-block"
0035             page: Qt.resolvedUrl("IpRulePage.qml")
0036         },
0037         KirigamiSettings.SettingAction {
0038             actionName: "EmailBlock"
0039             text: i18nc("@title", "Email Blocks")
0040             icon.name: "mail-message"
0041             page: Qt.resolvedUrl("EmailBlockToolPage.qml")
0042         }
0043     ]
0044 }