add more spacing
[personal-kdebase.git] / runtime / kcontrol / locale / klocalesample.h
blob090c1071ef712afdd4e645fc462b3d795c2bfe83
1 /*
2 * locale.cpp
4 * Copyright (c) 1998 Matthias Hoelzer (hoelzer@physik.uni-wuerzburg.de)
5 * Copyright (c) 1999-2003 Hans Petter Bieker <bieker@kde.org>
7 * Requires the Qt widget libraries, available at no cost at
8 * http://www.troll.no/
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifndef __KLOCALESAMPLE_H__
26 #define __KLOCALESAMPLE_H__
28 #include <QWidget>
30 class QLabel;
32 class KLocale;
34 class KLocaleSample : public QWidget
36 Q_OBJECT
37 public:
38 explicit KLocaleSample(KLocale *_locale,
39 QWidget *parent = 0);
40 virtual ~KLocaleSample();
42 public Q_SLOTS:
43 void slotLocaleChanged();
45 protected Q_SLOTS:
46 void slotUpdateTime();
48 private:
49 KLocale *m_locale;
50 QLabel *m_numberSample, *m_labNumber;
51 QLabel *m_moneySample, *m_labMoney;
52 QLabel *m_timeSample, *m_labTime;
53 QLabel *m_dateSample, *m_labDate;
54 QLabel *m_dateShortSample, *m_labDateShort;
57 #endif