#### PyKDE - Python Bindings for KDE

# class KXMLGUIFactory

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KXMLGUIFactory
Inherits | QObject

### methods

- KXMLGUIFactory (builder, parent = 0, name = 0)

  returns a KXMLGUIFactory instance

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

- actionPropertiesElement (doc)

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

  Argument | Type | Default
  --- | --- | ---
  doc | QDomDocument |

- addClient (client)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |

- clientAdded (client)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |

- clientRemoved (client)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |

- clients ()

  returns (QPtrList<KXMLGUIClient>)

- clients ()

  returns (KXMLGUIClientList)
  In versions less than KDE 3.5.2 only

- configureShortcuts (bAllowLetterShortcuts = 1, bSaveSettings = 1)

  returns (int)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  bAllowLetterShortcuts | bool | 1
  bSaveSettings | bool | 1

- container (containerName, client, useTagName = 0)

  returns (QWidget)

  Argument | Type | Default
  --- | --- | ---
  containerName | QString |
  client | KXMLGUIClient |
  useTagName | bool | 0

- containers (tagName)

  returns (QPtrList<QWidget>)

  Argument | Type | Default
  --- | --- | ---
  tagName | QString |

- containers (a0)

  returns (KWidgetList)
  In versions less than KDE 3.5.2 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- documentToXML (doc)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  doc | QDomDocument |

- elementToXML (elem)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  elem | QDomElement |

- findActionByName (elem, sName, create)

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

  Argument | Type | Default
  --- | --- | ---
  elem | QDomElement |
  sName | QString |
  create | bool |

- plugActionList (client, name, actionList)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |
  name | QString |
  actionList | QPtrList<KAction> |

- plugActionList (a0, a1, a2)

  returns nothing
  In versions less than KDE 3.5.2 only

  Argument | Type | Default
  --- | --- | ---
  a0 | KXMLGUIClient |
  a1 | QString |
  a2 | KActionList |

- readConfigFile (filename, never_null, instance = 0)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  filename | QString |
  never_null | bool |
  instance | KInstance | 0

- readConfigFile (filename, instance = 0)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  filename | QString |
  instance | KInstance | 0

- removeClient (client)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |

- removeDOMComments (node)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  node | QDomNode |

- reset ()

  returns nothing

- resetContainer (containerName, useTagName = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  containerName | QString |
  useTagName | bool | 0

- saveConfigFile (doc, filename, instance = 0)

  returns (bool)
  static

  Argument | Type | Default
  --- | --- | ---
  doc | QDomDocument |
  filename | QString |
  instance | KInstance | 0

- unplugActionList (client, name)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  client | KXMLGUIClient |
  name | QString |