#### PyKDE - Python Bindings for KDE

# class KCModule

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KCModule
Inherits | QWidget

### enums

- Button = {Help = 1, Default = 2, Apply = 16, Reset = 4, Cancel = 8, Ok = 32, SysDefault = 64 }

### methods

- KCModule (parent = 0, name = 0, args = QStringList ())

  returns a KCModule instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0
  args | QStringList | QStringList ()

- KCModule (instance, parent = 0, args = QStringList ())

  returns a KCModule instance

  Argument | Type | Default
  --- | --- | ---
  instance | KInstance |
  parent | QWidget | 0
  args | QStringList | QStringList ()

- aboutData ()

  returns (KAboutData)

- addConfig (config, widget)

  returns (KConfigDialogManager)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  config | KConfigSkeleton |
  widget | QWidget |

- buttons ()

  returns (int)

- changed (state)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | bool |

- changed ()

  returns nothing
  In versions KDE 3.3.0 and above only

- defaults ()

  returns nothing

- instance ()

  returns (KInstance)

- load ()

  returns nothing

- quickHelp ()

  returns (QString)

- quickHelpChanged ()

  returns nothing

- rootOnlyMsg ()

  returns (QString)

- save ()

  returns nothing

- setAboutData (about)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  about | KAboutData |

- setButtons (btn)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  btn | int |

- setQuickHelp (help)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  help | QString |

- setRootOnlyMsg (msg)

  returns nothing

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

- setUseRootOnlyMsg (on)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  on | bool |

- sysdefaults ()

  returns nothing

- useRootOnlyMsg ()

  returns (bool)