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.
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
40 KDesktopConfig(QWidget
*parent
, const QVariantList
&args
);
47 void slotValueChanged(int);
50 KIntNumInput
*_numInput
;
51 QLabel
*_nameLabel
[maxDesktops
];
52 KLineEdit
*_nameInput
[maxDesktops
];
54 QCheckBox
*_wheelOption
;
55 bool _wheelOptionImmutable
;