Start porting RSIBreak.
[rsibreak.git] / src / setup.h
bloba9405da3975324c2d951e8e5c83ada27b296a0db
1 /* ============================================================
2 * Original copied from showfoto:
3 * Copyright 2005 by Gilles Caulier <caulier.gilles@free.fr>
5 * Copyright 2005 by Tom Albers <tomalbers@kde.nl>
7 * This program is free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General
9 * Public License as published by the Free Software Foundation;
10 * either version 2, or (at your option)
11 * any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * ============================================================ */
20 #ifndef SETUP_H
21 #define SETUP_H
23 // KDE includes.
24 #include <kpagedialog.h>
26 class SetupPriv;
28 /**
29 * @class Setup
30 * This class manages the dialog chown in which the user
31 * can make all the necessary settings. Each part of the config
32 * is located in separate files, See SetupGeneral and SetupTimings
33 * for example
34 * This file is originally copied from showfoto
35 * @author Gilles Caulier <caulier.gilles@free.fr>
36 * @author Tom Albers <tomalbers@kde.nl>
38 class Setup : public KPageDialog
40 Q_OBJECT
42 public:
44 /**
45 * Constructor
46 * @param parent Parent Widget
47 * @param name Name
49 explicit Setup(QWidget* parent=0, const char* name=0);
51 /**
52 * Destructor
54 ~Setup();
56 private:
58 SetupPriv *d;
60 private slots:
62 void slotOkClicked();
65 #endif /* SETUP_H */