KDEUI
Go to the documentation of this file.
22#ifndef KNEWPASSWORDDIALOG_H
23#define KNEWPASSWORDDIALOG_H
26#include <QtGui/QLineEdit>
89 void setPrompt(
const QString &prompt);
94 QString prompt()
const;
101 void setPixmap(
const QPixmap&);
106 QPixmap pixmap()
const;
113 void setAllowEmptyPasswords(
bool allowed);
120 bool allowEmptyPasswords()
const;
129 void setMinimumPasswordLength(
int minLength);
134 int minimumPasswordLength()
const;
141 void setMaximumPasswordLength(
int maxLength);
146 int maximumPasswordLength()
const;
157 void setReasonablePasswordLength(
int reasonableLength);
162 int reasonablePasswordLength()
const;
173 void setPasswordStrengthWarningLevel(
int warningLevel);
178 int passwordStrengthWarningLevel()
const;
186 QString password()
const;
191 virtual void accept();
200 virtual bool checkPassword(
const QString &) ;
209 bool checkAndGetPassword(QString *pwd);
220 class KNewPasswordDialogPrivate;
221 KNewPasswordDialogPrivate*
const d;
223 Q_PRIVATE_SLOT( d,
void _k_textChanged() )
A dialog base class with standard buttons and predefined layouts.
void newPassword(const QString &password)
The dialog has been accepted, and the new password is password.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.