File indexing completed on 2024-04-14 04:01:52

0001 /* This file is part of KsirK.
0002    Copyright (C) 2006 Gael de Chalendar <kleag@free.fr>
0003 
0004    KsirK is free software; you can redistribute it and/or
0005    modify it under the terms of the GNU General Public
0006    License as published by the Free Software Foundation, either version 2
0007    of the License, or (at your option) any later version.
0008 
0009    This program is distributed in the hope that it will be useful,
0010    but WITHOUT ANY WARRANTY; without even the implied warranty of
0011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012    General Public License for more details.
0013 
0014    You should have received a copy of the GNU General Public License
0015    along with this program; if not, write to the Free Software
0016    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
0017    02110-1301, USA
0018 */
0019 
0020 
0021 #ifndef _KSIRKCONFIGDIALOG_H_
0022 #define _KSIRKCONFIGDIALOG_H_
0023 
0024 #include <KConfigDialog>
0025 #include <KConfigSkeleton>
0026 namespace Ui
0027 {
0028   class KsirkPreferencesWidget;
0029 }
0030 
0031 /**
0032  * This is the KsirK configuration dialog. Based on KConfigDialog.
0033  *
0034  * @short Configuration dialog
0035  * @author Gaƫl de Chalendar (aka Kleag) <kleag@free.fr>
0036  */
0037 class KsirkConfigurationDialog : public KConfigDialog
0038 {
0039   Q_OBJECT
0040 public:
0041   /**
0042     * Constructor
0043     */
0044   KsirkConfigurationDialog (QWidget *parent, const char *name, KConfigSkeleton *config);
0045 
0046   /** Destructor */
0047   ~KsirkConfigurationDialog () override;
0048 
0049 Q_SIGNALS:
0050   void armiesNumberShowingChanged(int);
0051 
0052 protected Q_SLOTS:
0053   void updateSettings() override;
0054   void updateWidgets() override;
0055 
0056 protected:
0057   Ui::KsirkPreferencesWidget*  m_widget;
0058 };
0059 
0060 #endif