2 toplevel.h - A KControl Application
4 written 1998 by Matthias Hoelzer
6 Copyright 1998 Matthias Hoelzer.
7 Copyright 1999-2003 Hans Petter Bieker <bieker@kde.org>.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifndef __TOPLEVEL_H__
26 #define __TOPLEVEL_H__
37 class KLocaleConfigMoney
;
38 class KLocaleConfigNumber
;
39 class KLocaleConfigTime
;
40 class KLocaleConfigOther
;
43 class KLocaleApplication
: public KCModule
48 KLocaleApplication(QWidget
*parent
, const QVariantList
&);
49 virtual ~KLocaleApplication();
53 virtual void defaults();
54 virtual QString
quickHelp() const;
57 void languageChanged();
62 * Retranslates the current widget.
68 KControlLocale
*m_locale
;
71 KLocaleConfig
*m_localemain
;
72 KLocaleConfigNumber
*m_localenum
;
73 KLocaleConfigMoney
*m_localemon
;
74 KLocaleConfigTime
*m_localetime
;
75 KLocaleConfigOther
*m_localeother
;
78 KLocaleSample
*m_sample
;
80 KSharedConfigPtr m_globalConfig
;
81 KSharedConfigPtr m_nullConfig
;