class KPasswordDialog

#### PyKDE - Python Bindings for KDE

# class KPasswordDialog |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
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 | TQWidget | 0
  name | char | 0

- KPasswordDialog (type, prompt, enableKeep = 0, extraBttn = 0)

  returns a KPasswordDialog instance
  Argument | Type | Default
  --- | --- | ---
  type | int |
  prompt | TQString |
  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 | TQString |
  parent | TQWidget | 0
  name | char | 0

- addLine (key, value)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  key | TQString |
  value | TQString |

- 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 | TQCString |
  prompt | TQString |

- getPassword (password, prompt)

  returns (int) keep (int)
  static
  Argument | Type | Default
  --- | --- | ---
  password | TQCString |
  prompt | TQString |

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

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

- 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