#### PyKDE - Python Bindings for KDE

# class KABC.Key |
Table of contents
Modules
kabc Classes
All Classes

Module | kabc
Class | KABC.Key
Inherits |

### enums

- Types = {X509, PGP, Custom }

### methods

- Key (text = QString .null, type = PGP)

  returns a Key instance
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | QString | QString .null
  type | int | PGP

- binaryData ()

  returns (QByteArray)
  In versions KDE 3.1.0 and above only

- customTypeString ()

  returns (QString)
  In versions KDE 3.1.0 and above only

- id ()

  returns (QString)
  In versions KDE 3.1.0 and above only

- isBinary ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- setBinaryData (binary)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  binary | QByteArray |

- setCustomTypeString (custom)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  custom | QString |

- setId (id)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  id | QString |

- setTextData (text)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | QString |

- setType (type)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  type | int |

- textData ()

  returns (QString)
  In versions KDE 3.1.0 and above only

- type ()

  returns (int)
  In versions KDE 3.1.0 and above only

- typeLabel (type)

  returns (QString)
  In versions KDE 3.1.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  type | int |

- typeList ()

  returns (TypeList)
  In versions KDE 3.1.0 and above only
  static

## operators

- operator != (a0)

  returns (bool)
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Key |

- operator == (a0)

  returns (bool)
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Key |