#### PyKDE - Python Bindings for KDE

# class KXMLGUIClient

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KXMLGUIClient
Inherits |

### enums

- ReverseStateChange = {StateNoReverse, StateReverse }

### methods

- KXMLGUIClient ()

  returns a KXMLGUIClient instance

- KXMLGUIClient (parent)

  returns a KXMLGUIClient instance

  Argument | Type | Default
  --- | --- | ---
  parent | KXMLGUIClient |

- action (name)

  returns (KAction)

  Argument | Type | Default
  --- | --- | ---
  name | char |

- action (element)

  returns (KAction)

  Argument | Type | Default
  --- | --- | ---
  element | QDomElement |

- actionCollection ()

  returns (KActionCollection)

- addStateActionDisabled (state, action)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | QString |
  action | QString |

- addStateActionEnabled (state, action)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  state | QString |
  action | QString |

- beginXMLPlug (a0)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- childClients ()

  returns (QPtrList<KXMLGUIClient>)

- childClients ()

  returns (KXMLGUIClientList)
  In versions less than KDE 3.3.0 only

- clientBuilder ()

  returns (KXMLGUIBuilder)

- conserveMemory ()

  returns nothing

- domDocument ()

  returns (QDomDocument)

- endXMLPlug ()

  returns nothing
  In versions KDE 3.1.0 and above only

- factory ()

  returns (KXMLGUIFactory)

- findMostRecentXMLFile (files, doc)

  returns (QString)
  static

  Argument | Type | Default
  --- | --- | ---
  files | QStringList |
  doc | QString |

- getActionsToChangeForState (state)

  returns (KXMLGUIClient.StateChange)

  Argument | Type | Default
  --- | --- | ---
  state | QString |

- insertChildClient (child)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  child | KXMLGUIClient |

- instance ()

  returns (KInstance)

- localXMLFile ()

  returns (QString)

- parentClient ()

  returns (KXMLGUIClient)

- plugActionList (name, actionList)

  returns nothing

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

- plugActionList (a0, a1)

  returns nothing
  In versions less than KDE 3.3.0 only

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

- prepareXMLUnplug (a0)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- reloadXML ()

  returns nothing

- removeChildClient (child)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  child | KXMLGUIClient |

- setClientBuilder (builder)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  builder | KXMLGUIBuilder |

- setDOMDocument (document, merge = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  document | QDomDocument |
  merge | bool | 0

- setFactory (factory)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  factory | KXMLGUIFactory |

- setInstance (instance)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  instance | KInstance |

- setLocalXMLFile (file)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  file | QString |

- setXML (document, merge = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  document | QString |
  merge | bool | 0

- setXMLFile (file, merge = 0, setXMLDoc = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  file | QString |
  merge | bool | 0
  setXMLDoc | bool | 1

- setXMLGUIBuildDocument (doc)

  returns nothing

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

- stateChanged (newstate, reverse = StateNoReverse)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  newstate | QString |
  reverse | KXMLGUIClient.ReverseStateChange | StateNoReverse

- unplugActionList (name)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- xmlFile ()

  returns (QString)

- xmlguiBuildDocument ()

  returns (QDomDocument)