2022-08-28 21:48:51 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2014-2015 Eike Hein <hein@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
import org.kde.plasma.plasmoid 2.0
|
|
|
|
import org.kde.plasma.configuration 2.0
|
|
|
|
|
|
|
|
ConfigModel {
|
2024-08-09 01:20:25 +00:00
|
|
|
property bool isFolder: (Plasmoid.pluginName === "org.kde.plasma.folder")
|
2022-08-28 21:48:51 +00:00
|
|
|
|
|
|
|
ConfigCategory {
|
|
|
|
name: i18n("Location")
|
2024-08-09 01:20:25 +00:00
|
|
|
icon: "inode-directory"
|
2022-08-28 21:48:51 +00:00
|
|
|
source: "ConfigLocation.qml"
|
|
|
|
visible: isFolder
|
|
|
|
}
|
|
|
|
|
|
|
|
ConfigCategory {
|
|
|
|
name: i18n("Icons")
|
|
|
|
icon: "preferences-desktop-icons"
|
|
|
|
source: "ConfigIcons.qml"
|
|
|
|
visible: isFolder
|
|
|
|
}
|
|
|
|
|
|
|
|
ConfigCategory {
|
|
|
|
name: i18n("Filter")
|
|
|
|
icon: "preferences-desktop-filter"
|
|
|
|
source: "ConfigFilter.qml"
|
|
|
|
visible: isFolder
|
|
|
|
}
|
|
|
|
}
|