File indexing completed on 2024-04-21 05:54:05

0001 /*
0002     SPDX-FileCopyrightText: 2005, 2007 Tom Albers <toma@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef SETUP_H
0008 #define SETUP_H
0009 
0010 // KDE includes.
0011 #include <kpagedialog.h>
0012 
0013 class SetupPriv;
0014 
0015 /**
0016  * @class Setup
0017  * This class manages the dialog chown in which the user
0018  * can make all the necessary settings. Each part of the config
0019  * is located in separate files, See SetupGeneral and SetupTimings
0020  * for example
0021  * @author Tom Albers <toma.org>
0022  */
0023 class Setup : public KPageDialog
0024 {
0025     Q_OBJECT
0026 
0027 public:
0028     /**
0029      * Constructor
0030      * @param parent Parent Widget
0031      * @param name Name
0032      */
0033     explicit Setup(QWidget *parent = nullptr);
0034 
0035     /**
0036      * Destructor
0037      */
0038     ~Setup();
0039 
0040 private:
0041     SetupPriv *d;
0042 
0043 private slots:
0044     void slotOkClicked();
0045 };
0046 
0047 #endif /* SETUP_H  */