Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / ksysguard / gui / TimerSettings.h
bloba9868093b21216f2e618dfb8f3c36df57697c2b8
1 /*
2 KSysGuard, the KDE System Guard
4 Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (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.
20 KSysGuard is currently maintained by Chris Schlaeger <cs@kde.org>.
21 Please do not commit any changes without consulting me first. Thanks!
25 #ifndef KSG_TIMERSETTINGS_H
26 #define KSG_TIMERSETTINGS_H
28 #include <QLabel>
30 #include <kdialog.h>
32 class QCheckBox;
33 class QSpinBox;
35 class KDE_EXPORT TimerSettings : public KDialog
37 Q_OBJECT
39 public:
40 explicit TimerSettings( QWidget *parent, const char *name = 0 );
41 ~TimerSettings();
43 void setUseGlobalUpdate( bool value );
44 bool useGlobalUpdate() const;
46 void setInterval( int interval );
47 int interval() const;
49 private Q_SLOTS:
50 void globalUpdateChanged( bool );
52 private:
53 QCheckBox* mUseGlobalUpdate;
54 QLabel* mLabel;
55 QSpinBox* mInterval;
58 #endif