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);
216 void newPassword(
const QString &password);
220 class KNewPasswordDialogPrivate;
221 KNewPasswordDialogPrivate*
const d;
223 Q_PRIVATE_SLOT( d,
void _k_textChanged() )
226 #endif // KNEWPASSWORDDIALOG_H
A dialog base class with standard buttons and predefined layouts.
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Tue Aug 21 2018 18:46:25 by
doxygen 1.8.14 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.