moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kiten / optiondialog.h
blob20a4343dd6dc38385e53a7e8741a198071b8456f
1 /**
2 This file is part of Kiten, a KDE Japanese Reference Tool...
3 Copyright (C) 2001 Jason Katz-Brown <jason@katzbrown.com>
4 (C) 2005 Paul Temple <paul.temple@gmx.net>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19 USA
20 **/
22 #ifndef OPTIONDIALOG_H
23 #define OPTIONDIALOG_H
25 class KListView;
26 class QString;
27 class KFontChooser;
28 class QLabel;
29 class QPushButton;
30 class QComboBox;
31 class QCheckBox;
32 class DictList;
34 #include <kconfigdialog.h>
35 #include <kglobalaccel.h>
36 #include <kkeydialog.h>
38 #include "kitenconfig.h"
39 #include "configdictionaries.h"
41 class ConfigureDialog : public KConfigDialog
43 Q_OBJECT
44 public:
45 ConfigureDialog(QWidget *parent=0, const char *name=0);
46 ~ConfigureDialog();
47 signals:
48 void settingsUpdated();
50 private slots:
51 void updateWidgets();
52 void updateWidgetsDefault();
53 void updateSettings();
55 private:
56 bool hasChanged();
57 bool isDefault();
58 ConfigDictionaries* configDic;
61 #endif