add more spacing
[personal-kdebase.git] / runtime / kcontrol / locale / localemon.h
bloba05cd9e1633ab8db150a916e88fa5b8ca689dabe
1 /*
2 * localemon.h
4 * Copyright (c) 1999-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 LOCALEMON_H
25 #define LOCALEMON_H
27 #include "ui_localemon.h"
29 class KLocale;
31 class KLocaleConfigMoney : public QWidget, Ui::localemon
33 Q_OBJECT
35 public:
36 KLocaleConfigMoney(KLocale *locale, QWidget *parent);
37 virtual ~KLocaleConfigMoney();
39 void save();
41 public Q_SLOTS:
42 /**
43 * Loads all settings from the current locale into the current widget.
45 void slotLocaleChanged();
46 /**
47 * Retranslate all objects owned by this object using the current locale.
49 void slotTranslate();
51 Q_SIGNALS:
52 void localeChanged();
54 private Q_SLOTS:
55 // Money
56 void slotMonCurSymChanged(const QString &t);
57 void slotMonDecSymChanged(const QString &t);
58 void slotMonThoSepChanged(const QString &t);
59 void slotMonFraDigChanged(int value);
60 void slotMonPosPreCurSymChanged();
61 void slotMonNegPreCurSymChanged();
62 void slotMonPosMonSignPosChanged(int i);
63 void slotMonNegMonSignPosChanged(int i);
65 private:
66 KLocale *m_locale;
69 #endif // LOCALEMON_H