2 Copyright (C) 2000 Oswald Buddenhagen <ossi@kde.org>
3 Based on several other files.
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
27 class QListWidgetItem
;
34 class KDMConvenienceWidget
: public QWidget
{
38 KDMConvenienceWidget( QWidget
*parent
= 0 );
46 void slotClearUsers();
47 void slotAddUsers( const QMap
<QString
,int> & );
48 void slotDelUsers( const QMap
<QString
,int> & );
55 void slotPresChanged();
56 void slotSetAutoUser( const QString
&user
);
57 void slotSetPreselUser( const QString
&user
);
58 void slotUpdateNoPassUser( QListWidgetItem
*item
);
61 QGroupBox
*alGroup
, *puGroup
, *npGroup
, *btGroup
;
62 QCheckBox
*cbarlen
, *cbjumppw
, *autoLockCheck
;
63 QRadioButton
*npRadio
, *ppRadio
, *spRadio
;
64 KComboBox
*userlb
, *puserlb
;
65 QListWidget
*npuserlv
;
67 QString autoUser
, preselUser
;
68 QStringList noPassUsers
;