#### PyKDE - Python Bindings for KDE

# class KRES.Resource |
Table of contents
Modules
kresources Classes
All Classes

Module | kresources
Class | KRES.Resource
Inherits | QObject

### methods

- Resource (config)

  returns a Resource instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  config | KConfig |

- close ()

  returns nothing
  In versions KDE 3.2.0 and above only

- doClose ()

  returns nothing
  In versions KDE 3.2.0 and above only

- doOpen ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- dump ()

  returns nothing
  In versions KDE 3.2.0 and above only

- identifier ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- isActive ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- isOpen ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- open ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- readOnly ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- resourceName ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- setActive (active)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  active | bool |

- setIdentifier (identifier)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  identifier | QString |

- setReadOnly (value)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  value | bool |

- setResourceName (name)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | QString |

- setType (type)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  type | QString |

- type ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- writeConfig (config)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  config | KConfig |