Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kcontrol / bell / bell.h
blob474f95786ae48d6d22c188d382af2e659b1616e1
1 /*
2 Copyright (c) 1997 Christian Czezatke (e9025461@student.tuwien.ac.at)
3 1998 Bernd Wuebben <wuebben@kde.org>
4 2000 Matthias Elter <elter@kde.org>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef __bell_h__
22 #define __bell_h__
24 #include "kcmodule.h"
26 class QCheckBox;
27 class KIntNumInput;
28 class QPushButton;
29 class QStringList;
31 class KBellConfig : public KCModule
33 Q_OBJECT
35 public:
36 KBellConfig(QWidget *parent, const QVariantList &args);
38 void load();
39 void save();
40 void defaults();
42 protected Q_SLOTS:
43 void ringBell();
44 void useBell( bool );
46 private:
47 QPushButton *m_testButton;
48 KIntNumInput *m_volume;
49 KIntNumInput *m_pitch;
50 KIntNumInput *m_duration;
51 QCheckBox *m_useBell;
54 #endif