Debian Codegraph @

src/portfolio/config/ConfigDialog.h

raw
1 /* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2019 Dag Andersen <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 #ifndef CONFIGDIALOG_H
8 #define CONFIGDIALOG_H
9
10 #include <planportfolio_export.h>
11
12 #include <KConfigDialog>
13
14 class Part;
15 class KConfigSkeleton;
16
17
18 class PLANPORTFOLIO_EXPORT ConfigDialog : public KConfigDialog
19 {
20 Q_OBJECT
21 public:
22 ConfigDialog(Part *part, const QString &name, KConfigSkeleton *config);
23
24 Q_SIGNALS:
25 void updateWidgetsData();
26 void updateWidgetsSettings();
27 void settingsUpdated();
28
29 protected Q_SLOTS:
30 void updateSettings() override;
31 void updateWidgets() override;
32 void showHelp() override;
33
34 protected:
35 bool hasChanged() override;
36
37 private:
38 QList<KPageWidgetItem*> m_pages;
39 };
40
41 #endif