2 * Copyright (c) 1998 Denis Perchine <dyp@perchine.com>
3 * Copyright (c) 2004 Szombathelyi György <gyurco@freemail.hu>
4 * Former maintainer: Adriaan de Groot <groot@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 version 2 or at your option version 3 as published by
9 * the Free Software Foundation.
11 * This library 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 GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef _KU_ADDUSER_H_
23 #define _KU_ADDUSER_H_
26 #include "ku_edituser.h"
28 class KU_AddUser
: public KU_EditUser
{
31 KU_AddUser(KU_User
&user
, bool useprivategroup
,
32 QWidget
*parent
= 0 );
34 void setCreateHomeDir(bool b
)
35 { createhome
->setChecked(b
); }
37 void setCopySkel(bool b
)
38 { copyskel
->setChecked(b
); }
40 const KU_User
&getNewUser() const { return mNewUser
; }
43 virtual void accept();
48 QCheckBox
*createhome
;
54 #endif // _KU_ADDUSER_H_