class KPasswordDialog

#### 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 |

- 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)

- password ()

  returns (char)

- prompt ()

  returns (QString)

- setPrompt (prompt)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  prompt | QString |

- slotCancel ()

  returns nothing

- slotKeep (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- slotOk ()

  returns nothing