KompareDiff2

settingsbase.h
1 /*
2 SPDX-FileCopyrightText: 2001 Otto Bruggeman <[email protected]>
3 SPDX-FileCopyrightText: 2001 John Firebaugh <[email protected]>
4 
5 SPDX-License-Identifier: GPL-2.0-or-later
6 */
7 
8 #ifndef SETTINGSBASE_H
9 #define SETTINGSBASE_H
10 
11 #include <QObject>
12 
13 #include "diff2_export.h"
14 
15 class QWidget;
16 class KConfig;
17 
18 /**
19  * Base class for settings classes.
20  */
21 class DIFF2_EXPORT SettingsBase : public QObject
22 {
23  Q_OBJECT
24 public:
25  explicit SettingsBase(QWidget* parent);
26  ~SettingsBase() override;
27 
28 public:
29  virtual void loadSettings(KConfig* config);
30  virtual void saveSettings(KConfig* config);
31 };
32 
33 #endif
Base class for settings classes.
Definition: settingsbase.h:21
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Sep 28 2022 03:51:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.