PyKDE - Python Bindings for KDE
class _TDEIO.PasswordDialog
Table of contents
Modules
tdeio Classes
All Classes
Module
tdeio
Class
_TDEIO.PasswordDialog
Inherits
KDialogBase
methods
PasswordDialog
(prompt, user, enableKeep = 0, modal = 1, parent = 0, name = 0)
returns
a PasswordDialog instance
Argument
Type
Default
prompt
TQString
user
TQString
enableKeep
bool
0
modal
bool
1
parent
TQWidget
0
name
char
0
addCommentLine
(label, comment)
returns
nothing
Argument
Type
Default
label
TQString
comment
TQString
getNameAndPassword
(keep, prompt = TQString .null, readOnly = 0, caption = TQString .null, comment = TQString .null, label = TQString .null)
returns
(int) user (TQString) pass (TQString) keep (bool)
static
Argument
Type
Default
keep
bool
prompt
TQString
TQString .null
readOnly
bool
0
caption
TQString
TQString .null
comment
TQString
TQString .null
label
TQString
TQString .null
keepPassword
()
returns
(bool)
password
()
returns
(TQString)
setEnableUserField
(enable, a0 = 0)
returns
nothing
Argument
Type
Default
enable
bool
a0
bool
0
setKeepPassword
(b)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
b
bool
setKnownLogins
(knownLogins)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
knownLogins
TQMap
setPassword
(password)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
password
TQString
setPrompt
(prompt)
returns
nothing
Argument
Type
Default
prompt
TQString
setUserReadOnly
(readOnly)
returns
nothing
Argument
Type
Default
readOnly
bool
username
()
returns
(TQString)