/* SPDX-FileCopyrightText: 2019 Valerio Pilo SPDX-License-Identifier: LGPL-2.0-only */ #pragma once #include #include #include using DecorationButtonsList = QVector; namespace Utils { QString buttonsToString(const DecorationButtonsList &buttons); DecorationButtonsList buttonsFromString(const QString &buttons); DecorationButtonsList readDecorationButtons(const KConfigGroup &config, const QString &key, const DecorationButtonsList &defaultValue); KDecoration2::BorderSize stringToBorderSize(const QString &name); QString borderSizeToString(KDecoration2::BorderSize size); const QMap &getBorderSizeNames(); }