#### PyKDE - Python Bindings for KDE

# class KParts.Factory

Table of contents
Modules
kparts Classes
All Classes

Module | kparts
Class | KParts.Factory
Inherits | KLibFactory

### methods

- Factory (parent = 0, name = 0)

  returns a Factory instance

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0
  name | char | 0

- createObject (parent = 0, name = 0, classname = "QObject", args = QStringList ())

  returns (QObject)

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0
  name | char | 0
  classname | char | "QObject"
  args | QStringList | QStringList ()

- createPart (parentWidget = 0, widgetName = 0, parent = 0, name = 0, classname = "KParts.Part", args = QStringList ())

  returns (KParts.Part)

  Argument | Type | Default
  --- | --- | ---
  parentWidget | QWidget | 0
  widgetName | char | 0
  parent | QObject | 0
  name | char | 0
  classname | char | "KParts.Part"
  args | QStringList | QStringList ()

- createPartObject (parentWidget = 0, widgetName = 0, parent = 0, name = 0, classname = "KParts.Part", args = QStringList ())

  returns (KParts.Part)

  Argument | Type | Default
  --- | --- | ---
  parentWidget | QWidget | 0
  widgetName | char | 0
  parent | QObject | 0
  name | char | 0
  classname | char | "KParts.Part"
  args | QStringList | QStringList ()

- partInstance ()

  returns (KInstance)
  In versions KDE 3.2.0 and above only

- partInstanceFromLibrary (libraryName)

  returns (KInstance)
  In versions KDE 3.2.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  libraryName | QCString |