add more spacing
[personal-kdebase.git] / runtime / kcontrol / locale / localeother.h
blobd19bb0ded8749e440e779a64507bfe0fbd34a6bb
1 /*
2 * localeother.h
4 * Copyright (c) 2001-2003 Hans Petter Bieker <bieker@kde.org>
6 * Requires the Qt widget libraries, available at no cost at
7 * http://www.troll.no/
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.
24 #ifndef LOCALEOTHER_H
25 #define LOCALEOTHER_H
27 #include <QWidget>
29 class QLabel;
30 class QComboBox;
32 class KLocale;
34 class KLocaleConfigOther : public QWidget
36 Q_OBJECT
38 public:
39 explicit KLocaleConfigOther(KLocale *locale, QWidget *parent = 0);
40 virtual ~KLocaleConfigOther();
42 void save();
44 public Q_SLOTS:
45 /**
46 * Loads all settings from the current locale into the current widget.
48 void slotLocaleChanged();
49 /**
50 * Retranslate all objects owned by this object using the current locale.
52 void slotTranslate();
54 Q_SIGNALS:
55 void localeChanged();
57 private Q_SLOTS:
58 void slotPageSizeChanged(int i);
59 void slotMeasureSystemChanged(int i);
61 private:
62 KLocale *m_locale;
64 QLabel *m_labMeasureSystem;
65 QComboBox *m_combMeasureSystem;
66 QLabel *m_labPageSize;
67 QComboBox *m_combPageSize;
70 #endif // LOCALEOTHER_H