Warning, file /network/krdc/config/preferencesdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2007 Urs Wolfer <uwolfer@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef PREFERENCESDIALOG_H
0008 #define PREFERENCESDIALOG_H
0009 
0010 #include <KConfigDialog>
0011 
0012 #include <QDialogButtonBox>
0013 
0014 class KConfigSkeleton;
0015 class KPluginWidget;
0016 
0017 class PreferencesDialog : public KConfigDialog
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     PreferencesDialog(QWidget *parent, KConfigSkeleton *config);
0023 
0024 protected:
0025     bool isDefault() override;
0026 
0027 private Q_SLOTS:
0028     void saveState();
0029     void loadDefaults();
0030     void settingsChanged();
0031 
0032 private:
0033     KPluginWidget *m_pluginSelector;
0034     bool m_settingsChanged;
0035     void enableButton(QDialogButtonBox::StandardButton standardButton);
0036 };
0037 
0038 #endif