Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kcontrol / launch / kcmlaunch.h
blobcd78a65f31cbb0f8ec182ef31ce44533225607c7
1 /*
2 * Copyright (C) 2001 Rik Hemsley (rikkus) <rik@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
18 #ifndef __kcmlaunch_h__
19 #define __kcmlaunch_h__
21 #include <kcmodule.h>
23 class QCheckBox;
24 class QComboBox;
26 class KIntNumInput;
28 class LaunchConfig : public KCModule
30 Q_OBJECT
32 public:
34 explicit LaunchConfig(QWidget * parent = 0, const QVariantList &list = QVariantList() );
36 virtual ~LaunchConfig();
38 void load();
39 void save();
40 void defaults();
42 protected Q_SLOTS:
44 void checkChanged();
45 void slotBusyCursor(int);
46 void slotTaskbarButton(bool);
48 protected:
50 enum FeedbackStyle
52 BusyCursor = 1 << 0,
53 TaskbarButton = 1 << 1,
55 Default = BusyCursor | TaskbarButton
59 private:
61 QLabel * lbl_cursorTimeout;
62 QLabel * lbl_taskbarTimeout;
63 QComboBox * cb_busyCursor;
64 QCheckBox * cb_taskbarButton;
65 KIntNumInput * sb_cursorTimeout;
66 KIntNumInput * sb_taskbarTimeout;
70 #endif