#### PyKDE - Python Bindings for KDE

# class KABC.ResourceFile

Table of contents
Modules
kabc Classes
All Classes

Module | kabc
Class | KABC.ResourceFile
Inherits | KABC.Resource

### methods

- ResourceFile (cfg)

  returns a ResourceFile instance
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  cfg | KConfig |

- ResourceFile (fileName, formatName = "vcard")

  returns a ResourceFile instance
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  fileName | QString |
  formatName | QString | "vcard"

- ResourceFile (a0, a1)

  returns a ResourceFile instance
  In versions less than KDE 3.3.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.AddressBook |
  a1 | KConfig |

- ResourceFile (a0, a1, a2 = 0)

  returns a ResourceFile instance
  In versions less than KDE 3.3.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.AddressBook |
  a1 | QString |
  a2 | KABC.FormatPlugin | 0

- ResourceFile (a0, a1)

  returns a ResourceFile instance
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.AddressBook |
  a1 | KConfig |

- ResourceFile (a0, a1, a2 = 0)

  returns a ResourceFile instance
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.AddressBook |
  a1 | QString |
  a2 | KABC.FormatPlugin | 0

- ResourceFile (a0, a1, a2 = 0)

  returns a ResourceFile instance
  In versions less than KDE 3.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | KABC.AddressBook |
  a1 | QString |
  a2 | KABC.Format | 0

- asyncLoad ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- asyncSave (ticket)

  returns (bool)
  In versions KDE 3.3.0 and above only

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

- checkFile ()

  returns nothing
  In versions less than KDE 3.1.0 only

- cleanUp ()

  returns nothing
  In versions less than KDE 3.3.0 only

- cleanUp ()

  returns nothing
  In versions less than KDE 3.2.0 only

- close ()

  returns nothing
  In versions less than KDE 3.3.0 only

- close ()

  returns nothing
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

- doClose ()

  returns nothing
  In versions KDE 3.3.0 and above only

- doOpen ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- fileChanged ()

  returns nothing
  In versions KDE 3.2.0 and above only

- fileName ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- fileName ()

  returns (QString)
  In versions less than KDE 3.2.0 only

- format ()

  returns (QString)
  In versions KDE 3.5.1 and above only

- identifier ()

  returns (QString)
  In versions less than KDE 3.5.1 only

- identifier ()

  returns (QString)
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

- init (fileName, format)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  fileName | QString |
  format | QString |

- load ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- load ()

  returns (bool)
  In versions less than KDE 3.3.0 only

- load ()

  returns (bool)
  In versions less than KDE 3.2.0 only

- load (a0)

  returns (bool)
  In versions less than KDE 3.1.0 only

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

- lock (fileName)

  Not Implemented

- lock (a0)

  Not Implemented

- open ()

  returns (bool)
  In versions less than KDE 3.3.0 only

- open ()

  returns (bool)
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

- releaseSaveTicket (a0)

  returns nothing
  In versions KDE 3.5.1 and above only

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

- releaseSaveTicket (a0)

  returns nothing
  In versions less than KDE 3.5.1 only

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

- releaseSaveTicket (a0)

  returns nothing
  In versions less than KDE 3.2.0 only

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

- removeAddressee (addr)

  returns nothing
  In versions KDE 3.5.2 and above only

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

- removeAddressee (a0)

  returns nothing
  In versions less than KDE 3.5.2 only

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

- removeAddressee (a0)

  returns nothing
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

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

- requestSaveTicket ()

  returns (KABC.Ticket)
  In versions KDE 3.5.1 and above only

- requestSaveTicket ()

  returns (KABC.Ticket)
  In versions less than KDE 3.5.1 only

- requestSaveTicket ()

  returns (KABC.Ticket)
  In versions less than KDE 3.2.0 only

- save (ticket)

  returns (bool)
  In versions KDE 3.3.0 and above only

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

- save (a0)

  returns (bool)
  In versions less than KDE 3.3.0 only

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

- save (a0)

  returns (bool)
  In versions less than KDE 3.2.0 only

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

- setFileName (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- setFileName (a0)

  returns nothing
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- setFormat (name)

  returns nothing
  In versions KDE 3.5.1 and above only

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

- unlock (fileName)

  Not Implemented

- unlock (a0)

  Not Implemented

- writeConfig (cfg)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  cfg | KConfig |