kcms/rules: Import kcmutils to provide ConfigModule attached property

On KF5 it was provided by the module `kcm`.
This commit is contained in:
Ismael Asensio 2023-04-07 20:43:11 +02:00
parent f35afcd7ae
commit 78643b958f

View file

@ -8,18 +8,19 @@ import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import QtQml.Models
import org.kde.kcm
import org.kde.kcm as KCM
import org.kde.kcmutils as KCMUtils
import org.kde.kirigami 2.12 as Kirigami
ScrollViewKCM {
KCM.ScrollViewKCM {
id: rulesListKCM
// FIXME: ScrollViewKCM.qml:73:13: QML Control: Binding loop detected for property "implicitHeight"
implicitWidth: Kirigami.Units.gridUnit * 35
implicitHeight: Kirigami.Units.gridUnit * 25
ConfigModule.columnWidth: Kirigami.Units.gridUnit * 23
ConfigModule.buttons: ConfigModule.Help | ConfigModule.Apply
KCMUtils.ConfigModule.columnWidth: Kirigami.Units.gridUnit * 23
KCMUtils.ConfigModule.buttons: KCMUtils.ConfigModule.Help | KCMUtils.ConfigModule.Apply
property var selectedIndexes: []