#### PyKDE - Python Bindings for KDE

# class KCModuleLoader

Table of contents
Modules
kutils Classes
All Classes

Module | kutils
Class | KCModuleLoader
Inherits |

### enums

- ErrorReporting = {None, Inline, Dialog, Both }

### methods

- loadModule (module, withFallback = 1, parent = 0, name = 0, args = QStringList ())

  returns (KCModule)
  In versions KDE 3.3.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  module | KCModuleInfo |
  withFallback | bool | 1
  parent | QWidget | 0
  name | char | 0
  args | QStringList | QStringList ()

- loadModule (module, parent = 0, name = 0, args = QStringList ())

  returns (KCModule)
  In versions KDE 3.3.0 and above only
  static

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

- loadModule (module, report, withFallback = 1, parent = 0, name = 0, args = QStringList ())

  returns (KCModule)
  In versions KDE 3.4.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  module | KCModuleInfo |
  report | KCModuleLoader.ErrorReporting |
  withFallback | bool | 1
  parent | QWidget | 0
  name | char | 0
  args | QStringList | QStringList ()

- loadModule (module, report, parent = 0, name = 0, args = QStringList ())

  returns (KCModule)
  In versions KDE 3.4.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  module | QString |
  report | KCModuleLoader.ErrorReporting |
  parent | QWidget | 0
  name | char | 0
  args | QStringList | QStringList ()

- reportError (report, text, details, parent)

  returns (KCModule)
  In versions KDE 3.4.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  report | KCModuleLoader.ErrorReporting |
  text | QString |
  details | QString |
  parent | QWidget |

- showLastLoaderError (parent)

  returns nothing
  In versions KDE 3.3.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |

- testModule (module)

  returns (bool)
  In versions KDE 3.4.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  module | QString |

- testModule (module)

  returns (bool)
  In versions KDE 3.4.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  module | KCModuleInfo |

- unloadModule (mod)

  returns nothing
  In versions KDE 3.3.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  mod | KCModuleInfo |