/* This file is part of the KDE libraries SPDX-FileCopyrightText: 2003 Benjamin C Meyer SPDX-FileCopyrightText: 2003 Waldo Bastian SPDX-FileCopyrightText: 2017 Friedrich W. H. Kossebau SPDX-FileCopyrightText: 2020 Kevin Ottens SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef KCONFIGDIALOGMANAGER_P_H #define KCONFIGDIALOGMANAGER_P_H #include #include #include class QWidget; class KConfigDialogManager; class KCoreConfigSkeleton; class KConfigDialogManagerPrivate { public: KConfigDialogManagerPrivate(KConfigDialogManager *qq); void setDefaultsIndicatorsVisible(bool enabled); void onWidgetModified(); void updateWidgetIndicator(const QString &configId, QWidget *widget); void updateAllWidgetIndicators(); public: KConfigDialogManager *const q; /** * KConfigSkeleton object used to store settings */ KCoreConfigSkeleton *m_conf = nullptr; /** * Dialog being managed */ QWidget *m_dialog = nullptr; QHash knownWidget; QHash buddyWidget; QSet allExclusiveGroupBoxes; bool insideGroupBox : 1; bool trackChanges : 1; bool defaultsIndicatorsVisible : 1; }; #endif // KCONFIGDIALOGMANAGER_P_H