#### PyKDE - Python Bindings for KDE

# class KABC.AddressBook

Table of contents
Modules
kabc Classes
All Classes

Module | kabc
Class | KABC.AddressBook
Inherits | QObject

### methods

- AddressBook ()

  returns a AddressBook instance

- AddressBook (config)

  returns a AddressBook instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  config | QString |

- addCustomField (label, category = KABC .Field .All, key = QString .null, app = QString .null)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  label | QString |
  category | int | KABC .Field .All
  key | QString | QString .null
  app | QString | QString .null

- addResource (resource)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  resource | KABC.Resource |

- addressBookChanged (addressBook)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  addressBook | KABC.AddressBook |

- addressBookLocked (addressBook)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  addressBook | KABC.AddressBook |

- addressBookUnlocked (addressBook)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  addressBook | KABC.AddressBook |

- allAddressees ()

  returns (KABC.Addressee.List)
  In versions KDE 3.2.0 and above only

- asyncLoad ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- asyncSave (ticket)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  ticket | KABC.Ticket |

- cleanUp ()

  returns nothing
  In versions KDE 3.1.0 and above only

- clear ()

  returns nothing

- deleteRemovedAddressees ()

  returns nothing
  In versions KDE 3.1.0 and above only

- dump ()

  returns nothing

- emitAddressBookChanged ()

  returns nothing

- emitAddressBookLocked ()

  returns nothing

- emitAddressBookUnlocked ()

  returns nothing

- error (msg)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  msg | QString |

- fields (category = KABC .Field .All)

  returns (KABC.Field.List)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  category | int | KABC .Field .All

- findByCategory (category)

  returns (KABC.Addressee.List)

  Argument | Type | Default
  --- | --- | ---
  category | QString |

- findByEmail (email)

  returns (KABC.Addressee.List)

  Argument | Type | Default
  --- | --- | ---
  email | QString |

- findByName (name)

  returns (KABC.Addressee.List)

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- findByUid (uid)

  returns (KABC.Addressee)

  Argument | Type | Default
  --- | --- | ---
  uid | QString |

- identifier ()

  returns (QString)

- insertAddressee (addr)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  addr | KABC.Addressee |

- load ()

  returns (bool)

- loadingFinished (resource)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  resource | KABC.Resource |

- loadingHasFinished ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- releaseSaveTicket (ticket)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  ticket | KABC.Ticket |

- removeAddressee (addr)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  addr | KABC.Addressee |

- removeAddressee (it)

  Not Implemented

- removeResource (resource)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  resource | KABC.Resource |

- requestSaveTicket (resource = 0)

  returns (KABC.Ticket)

  Argument | Type | Default
  --- | --- | ---
  resource | KABC.Resource | 0

- resourceLoadingError (a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Resource |
  a1 | QString |

- resourceLoadingFinished (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Resource |

- resourceManager ()

  Not Implemented

- resourceSavingError (a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Resource |
  a1 | QString |

- resourceSavingFinished (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Resource |

- resources ()

  returns (QPtrList<KABC.Resource>)
  In versions KDE 3.1.0 and above only

- save (ticket)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  ticket | KABC.Ticket |

- savingFinished (resource)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  resource | KABC.Resource |

- setErrorHandler (errorHandler)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  errorHandler | KABC.ErrorHandler |

- setStandardResource (a0)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.Resource |

- standardResource ()

  returns (KABC.Resource)
  In versions KDE 3.1.0 and above only