3 * This file is part of the KDE project, module kdesu.
4 * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
6 Permission to use, copy, modify, and distribute this software
7 and its documentation for any purpose and without fee is hereby
8 granted, provided that the above copyright notice appear in all
9 copies and that both that the copyright notice and this
10 permission notice and warranty disclaimer appear in supporting
11 documentation, and that the name of the author not be used in
12 advertising or publicity pertaining to distribution of the
13 software without specific, written prior permission.
15 The author disclaim all warranties with regard to this
16 software, including all implied warranties of merchantability
17 and fitness. In no event shall the author be liable for any
18 special, indirect or consequential damages or any damages
19 whatsoever resulting from loss of use, data or profits, whether
20 in an action of contract, negligence or other tortious action,
21 arising out of or in connection with the use or performance of
28 #include <kpassworddialog.h>
29 #include <knewpassworddialog.h>
30 #include <QtCore/QByteRef>
32 class KDEpasswd1Dialog
33 : public KPasswordDialog
41 static int getPassword(QByteArray
&password
);
47 class KDEpasswd2Dialog
48 : public KNewPasswordDialog
53 KDEpasswd2Dialog(const char *oldpass
, const QByteArray
&user
);