add more spacing
[personal-kdebase.git] / workspace / kwin / kcmkwin / kwindesktop / desktop.h
blob275d561bd4f720ce2064d7089bf6243398bb53dd
1 /**
2 * Copyright (c) 2000 Matthias Elter <elter@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
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef __desktop_h__
20 #define __desktop_h__
22 #include <kcmodule.h>
24 class QLabel;
25 class QCheckBox;
26 class KLineEdit;
27 class KIntNumInput;
28 class QStringList;
30 #ifdef Q_WS_X11
32 // if you change this, update also the number of keyboard shortcuts in kwin/kwinbindings.cpp
33 static const int maxDesktops = 20;
35 class KDesktopConfig : public KCModule
37 Q_OBJECT
39 public:
40 KDesktopConfig(QWidget *parent, const QVariantList &args);
42 void load();
43 void save();
44 void defaults();
46 protected Q_SLOTS:
47 void slotValueChanged(int);
49 private:
50 KIntNumInput *_numInput;
51 QLabel *_nameLabel[maxDesktops];
52 KLineEdit *_nameInput[maxDesktops];
53 #if 0
54 QCheckBox *_wheelOption;
55 bool _wheelOptionImmutable;
56 #endif
59 #endif // Q_WS_X11
60 #endif