1
/*****************************************************************************
2
* This file is part of Kiten, a KDE Japanese Reference Tool... *
3
* Copyright (C) 2001 Jason Katz-Brown <jason@katzbrown.com> *
4
* Copyright (C) 2005 Paul Temple <paul.temple@gmx.net> *
5
* Copyright (C) 2006 Joseph Kerian <jkerian@gmail.com> *
7
* This program is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 2 of the License, or *
10
* (at your option) any later version. *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
17
* You should have received a copy of the GNU General Public License *
18
* along with this program; if not, write to the Free Software *
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 *
21
*****************************************************************************/
23
#ifndef CONFIGUREDIALOG_H
24
#define CONFIGUREDIALOG_H
26
#include <KConfigDialog>
28
class KitenConfigSkeleton;
31
class ConfigureDialog : public KConfigDialog
36
explicit ConfigureDialog( QWidget *parent = 0
37
, KitenConfigSkeleton *config = NULL );
38
virtual ~ConfigureDialog();
41
void settingsChangedSignal();
42
void updateWidgetsSignal();
43
void updateWidgetsDefaultSignal();
44
void updateSettingsSignal();
47
void updateSettings();
49
void updateWidgetsDefault();
53
QWidget *makeDictionaryPreferencesPage( QWidget *, KitenConfigSkeleton* );
54
QWidget *makeDictionaryFileSelectionPage( QWidget *, KitenConfigSkeleton* );
55
QWidget *makeSortingPage( QWidget *, KitenConfigSkeleton* );