#### PyKDE - Python Bindings for KDE

# class KActionCollection |
Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KActionCollection
Inherits | QObject

### methods

- KActionCollection (a0, a1 = 0, a2 = 0)

  returns a KActionCollection instance
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | char | 0
  a2 | KInstance | 0

- KActionCollection (a0, a1, a2 = 0, a3 = 0)

  returns a KActionCollection instance
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | QObject |
  a2 | char | 0
  a3 | KInstance | 0

- KActionCollection (a0)

  returns a KActionCollection instance
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KActionCollection |

- KActionCollection (a0 = 0, a1 = 0, a2 = 0)

  returns a KActionCollection instance
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QObject | 0
  a1 | char | 0
  a2 | KInstance | 0

- KActionCollection (parent, name = 0, instance = 0)

  returns a KActionCollection instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |
  name | char | 0
  instance | KInstance | 0

- KActionCollection (watch, parent, name = 0, instance = 0)

  returns a KActionCollection instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  watch | QWidget |
  parent | QObject |
  name | char | 0
  instance | KInstance | 0

- KActionCollection (copy)

  returns a KActionCollection instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  copy | KActionCollection |

- KActionCollection (parent, name = 0, instance = 0)

  returns a KActionCollection instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  parent | QObject |
  name | char | 0
  instance | KInstance | 0

- KActionCollection (name, parent)

  returns a KActionCollection instance
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | char |
  parent | KXMLGUIClient |

- accel ()

  returns (KAccel)
  In versions less than KDE 3.2.0 only

- accel ()

  returns (KAccel)
  In versions KDE 3.2.0 and above only

- action (a0)

  returns (KAction)
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- action (a0, a1 = 0)

  returns (KAction)
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | char |
  a1 | char | 0

- action (index)

  returns (KAction)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  index | int |

- action (name, classname = 0)

  returns (KAction)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  name | char |
  classname | char | 0

- actionHighlighted (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- actionHighlighted (a0, a1)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |
  a1 | bool |

- actionHighlighted (action)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  action | KAction |

- actionHighlighted (action, highlight)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  action | KAction |
  highlight | bool |

- actionStatusText (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- actionStatusText (text)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | QString |

- actions (a0)

  returns (QValueList
  In versions KDE 3.1.5 and above, but less than KDE 3.5.3
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- actions ()

  returns (QValueList
  In versions KDE 3.1.5 and above, but less than KDE 3.5.3

- actions (group)

  returns (KActionPtrList)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  group | QString |

- actions ()

  returns (KActionPtrList)
  In versions KDE 3.2.0 and above only

- actions (a0)

  returns (QValueList
  In versions less than KDE 3.2.2 only( D MANDRAKE only)
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- actions ()

  returns (QValueList
  In versions less than KDE 3.2.2 only( D MANDRAKE only)

- addDocCollection (a0)

  returns (bool)
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3
  Argument | Type | Default
  --- | --- | ---
  a0 | KActionCollection |

- addDocCollection (pDoc)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  pDoc | KActionCollection |

- builderKAccel ()

  returns (KAccel)
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

- builderKAccel ()

  returns (KAccel)
  In versions KDE 3.2.0 and above only

- clear ()

  returns nothing
  In versions less than KDE 3.2.0 only

- clear ()

  returns nothing
  In versions KDE 3.2.0 and above only

- clearStatusText ()

  returns nothing
  In versions less than KDE 3.2.0 only

- clearStatusText ()

  returns nothing
  In versions KDE 3.2.0 and above only

- connectHighlight (a0, a1)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | KAction |

- connectHighlight (container, action)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  container | QWidget |
  action | KAction |

- count ()

  returns (uint)
  In versions less than KDE 3.2.0 only

- count ()

  returns (uint)
  In versions KDE 3.2.0 and above only

- disconnectHighlight (a0, a1)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | KAction |

- disconnectHighlight (container, action)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  container | QWidget |
  action | KAction |

- groups ()

  returns (QStringList)
  In versions less than KDE 3.2.0 only

- groups ()

  returns (QStringList)
  In versions KDE 3.2.0 and above only

- highlightingEnabled ()

  returns (bool)
  In versions less than KDE 3.2.0 only

- highlightingEnabled ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- insert (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- insert (action)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  action | KAction |

- inserted (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- inserted (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- instance ()

  returns (KInstance)
  In versions less than KDE 3.2.0 only

- instance ()

  returns (KInstance)
  In versions KDE 3.2.0 and above only

- isAutoConnectShortcuts ()

  returns (bool)
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

- isAutoConnectShortcuts ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- isEmpty ()

  returns (bool)
  In versions less than KDE 3.2.0 only

- isEmpty ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- kaccel ()

  returns (KAccel)
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3

- kaccel ()

  returns (KAccel)
  In versions KDE 3.2.0 and above only

- parentGUIClient ()

  returns (KXMLGUIClient)
  In versions KDE 3.3.0 and above only

- readShortcutSettings (a0 = QString .null, a1 = 0)

  returns (bool)
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QString | QString .null
  a1 | KConfigBase | 0

- readShortcutSettings (sConfigGroup = QString .null, pConfig = 0)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  sConfigGroup | QString | QString .null
  pConfig | KConfigBase | 0

- remove (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- remove (action)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  action | KAction |

- removed (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- removed (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- setAutoConnectShortcuts (a0)

  returns nothing
  In versions KDE 3.1.0 and above, but less than KDE 3.5.3
  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setAutoConnectShortcuts (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setHighlightingEnabled (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setHighlightingEnabled (enable)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setInstance (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KInstance |

- setInstance (instance)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  instance | KInstance |

- setWidget (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |

- setWidget (widget)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |

- setXMLFile (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- setXMLFile (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- take (a0)

  returns (KAction)
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KAction |

- take (action)

  returns (KAction)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  action | KAction |

- writeShortcutSettings (a0 = QString .null, a1 = 0)

  returns (bool)
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | QString | QString .null
  a1 | KConfigBase | 0

- writeShortcutSettings (sConfigGroup = QString .null, pConfig = 0)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  sConfigGroup | QString | QString .null
  pConfig | KConfigBase | 0

- xmlFile ()

  returns (QString)
  In versions less than KDE 3.2.0 only

- xmlFile ()

  returns (QString)
  In versions KDE 3.2.0 and above only

## operators

- operator + (a0)

  returns (KActionCollection)
  In versions KDE 3.1.4 and above, but less than KDE 3.5.3
  Argument | Type | Default
  --- | --- | ---
  a0 | KActionCollection |

- operator + (a0)

  returns (KActionCollection)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KActionCollection |

- operator += (a0)

  returns (KActionCollection)
  In versions KDE 3.1.4 and above, but less than KDE 3.5.3
  Argument | Type | Default
  --- | --- | ---
  a0 | KActionCollection |

- operator += (a0)

  returns (KActionCollection)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KActionCollection |