PyKDE - Python Bindings for KDE
class KPasswordDialog
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KPasswordDialog
Inherits
KDialogBase
enums
Types
= {Password, NewPassword }
methods
KPasswordDialog
(type, enableKeep, extraBttn, parent = 0, name = 0)
returns
a KPasswordDialog instance
Argument
Type
Default
type
KPasswordDialog.Types
enableKeep
bool
extraBttn
int
parent
QWidget
0
name
char
0
KPasswordDialog
(type, prompt, enableKeep = 0, extraBttn = 0)
returns
a KPasswordDialog instance
Argument
Type
Default
type
int
prompt
QString
enableKeep
bool
0
extraBttn
int
0
KPasswordDialog
(type, enableKeep, extraBttn, iconName, parent = 0, name = 0)
returns
a KPasswordDialog instance
In versions KDE 3.3.0 and above only
Argument
Type
Default
type
KPasswordDialog.Types
enableKeep
bool
extraBttn
int
iconName
QString
parent
QWidget
0
name
char
0
addLine
(key, value)
returns
nothing
Argument
Type
Default
key
QString
value
QString
allowEmptyPasswords
()
returns
(bool)
In versions KDE 3.4.0 and above only
checkPassword
(a0)
returns
(bool)
Argument
Type
Default
a0
char
clearPassword
()
returns
nothing
In versions KDE 3.3.0 and above only
disableCoreDumps
()
returns
nothing
static
getNewPassword
(password, prompt)
returns
(int)
static
Argument
Type
Default
password
QCString
prompt
QString
getPassword
(password, prompt)
returns
(int) keep (int)
static
Argument
Type
Default
password
QCString
prompt
QString
keep
()
returns
(bool)
maximumPasswordLength
()
returns
(int)
In versions KDE 3.4.0 and above only
minimumPasswordLength
()
returns
(int)
In versions KDE 3.4.0 and above only
password
()
returns
(char)
passwordStrengthWarningLevel
()
returns
(int)
In versions KDE 3.4.0 and above only
prompt
()
returns
(QString)
reasonablePasswordLength
()
returns
(int)
In versions KDE 3.4.0 and above only
setAllowEmptyPasswords
(allowed)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
allowed
bool
setMaximumPasswordLength
(maxLength)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
maxLength
int
setMinimumPasswordLength
(minLength)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
minLength
int
setPasswordStrengthWarningLevel
(warningLevel)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
warningLevel
int
setPrompt
(prompt)
returns
nothing
Argument
Type
Default
prompt
QString
setReasonablePasswordLength
(reasonableLength)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
reasonableLength
int
slotCancel
()
returns
nothing
slotKeep
(a0)
returns
nothing
Argument
Type
Default
a0
bool
slotOk
()
returns
nothing