#### PyKDE - Python Bindings for KDE

# class KParts.Factory |
Table of contents
Modules
tdeparts Classes
All Classes

Module | tdeparts
Class | KParts.Factory
Inherits | KLibFactory

### methods

- Factory (parent = 0, name = 0)

  returns a Factory instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQObject | 0
  name | char | 0

- createObject (parent = 0, name = 0, classname = "TQObject", args = TQStringList ())

  returns (TQObject)
  Argument | Type | Default
  --- | --- | ---
  parent | TQObject | 0
  name | char | 0
  classname | char | "TQObject"
  args | TQStringList | TQStringList ()

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

  returns (KParts.Part)
  Argument | Type | Default
  --- | --- | ---
  parentWidget | TQWidget | 0
  widgetName | char | 0
  parent | TQObject | 0
  name | char | 0
  classname | char | "KParts.Part"
  args | TQStringList | TQStringList ()

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

  returns (KParts.Part)
  Argument | Type | Default
  --- | --- | ---
  parentWidget | TQWidget | 0
  widgetName | char | 0
  parent | TQObject | 0
  name | char | 0
  classname | char | "KParts.Part"
  args | TQStringList | TQStringList ()

- partInstance ()

  returns (TDEInstance)
  In versions KDE 3.2.0 and above only

- partInstanceFromLibrary (libraryName)

  returns (TDEInstance)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  libraryName | TQCString |