#### PyKDE - Python Bindings for KDE

# class TDEAccel |
Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | TDEAccel
Inherits | TQAccel

### methods

- TDEAccel (pParent, psName = 0)

  returns a TDEAccel instance
  Argument | Type | Default
  --- | --- | ---
  pParent | TQWidget |
  psName | char | 0

- TDEAccel (watch, parent, psName = 0)

  returns a TDEAccel instance
  Argument | Type | Default
  --- | --- | ---
  watch | TQWidget |
  parent | TQObject |
  psName | char | 0

- actions ()

  returns (TDEAccelActions)

- changeMenuAccel (menu, id, action)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  menu | TQPopupMenu |
  id | int |
  action | TQString |

- changeMenuAccel (menu, id, accel)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  menu | TQPopupMenu |
  id | int |
  accel | TDEStdAccel.StdAccel |

- configGroup ()

  returns (TQString)

- connectItem (sAction, slot, bActivate = 1)

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  slot | SLOT (Python callable) |
  bActivate | bool | 1

- connectItem (accel, slot, )

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  accel | TDEStdAccel.StdAccel |
  slot | SLOT (Python callable) |

- connectItem (a0, a1, a2, a3 = 1)

  returns (bool)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |
  a1 | TQObject |
  a2 | char |
  a3 | bool | 1

- connectItem (a0, a1, a2)

  returns (bool)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEStdAccel.StdAccel |
  a1 | TQObject |
  a2 | char |

- currentKey (action)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  action | TQString |

- emitKeycodeChanged ()

  returns nothing

- findKey (key)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  key | int |

- getAutoUpdate ()

  Not Implemented

- insert (sAction, sLabel, sWhatsThis, cutDef, slot, bConfigurable = 1, bEnabled = 1)

  returns (TDEAccelAction)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  sLabel | TQString |
  sWhatsThis | TQString |
  cutDef | TDEShortcut |
  slot | SLOT (Python callable) |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insert (sAction, sLabel, sWhatsThis, cutDef3, cutDef4, slot, bConfigurable = 1, bEnabled = 1)

  returns (TDEAccelAction)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  sLabel | TQString |
  sWhatsThis | TQString |
  cutDef3 | TDEShortcut |
  cutDef4 | TDEShortcut |
  slot | SLOT (Python callable) |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insert (psAction, cutDef, slot, bConfigurable = 1, bEnabled = 1)

  returns (TDEAccelAction)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  psAction | char |
  cutDef | TDEShortcut |
  slot | SLOT (Python callable) |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insert (id, slot, bConfigurable = 1, bEnabled = 1)

  returns (TDEAccelAction)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  id | TDEStdAccel.StdAccel |
  slot | SLOT (Python callable) |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insert (a0, a1)

  Not Implemented

- insert (a0, a1, a2, a3, a4, a5, a6 = 1, a7 = 1)

  returns (TDEAccelAction)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |
  a1 | TQString |
  a2 | TQString |
  a3 | TDEShortcut |
  a4 | TQObject |
  a5 | char |
  a6 | bool | 1
  a7 | bool | 1

- insert (a0, a1, a2, a3, a4, a5, a6, a7 = 1, a8 = 1)

  returns (TDEAccelAction)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |
  a1 | TQString |
  a2 | TQString |
  a3 | TDEShortcut |
  a4 | TDEShortcut |
  a5 | TQObject |
  a6 | char |
  a7 | bool | 1
  a8 | bool | 1

- insert (a0, a1, a2, a3, a4 = 1, a5 = 1)

  returns (TDEAccelAction)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | char |
  a1 | TDEShortcut |
  a2 | TQObject |
  a3 | char |
  a4 | bool | 1
  a5 | bool | 1

- insert (a0, a1, a2, a3 = 1, a4 = 1)

  returns (TDEAccelAction)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEStdAccel.StdAccel |
  a1 | TQObject |
  a2 | char |
  a3 | bool | 1
  a4 | bool | 1

- insertItem (sLabel, sAction, psKey, nIDMenu = 0, pMenu = 0, bConfigurable = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sLabel | TQString |
  sAction | TQString |
  psKey | char |
  nIDMenu | int | 0
  pMenu | TQPopupMenu | 0
  bConfigurable | bool | 1

- insertItem (sLabel, sAction, key, nIDMenu, pMenu, bConfigurable = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sLabel | TQString |
  sAction | TQString |
  key | int |
  nIDMenu | int |
  pMenu | TQPopupMenu |
  bConfigurable | bool | 1

- insertStdItem (id, descr = TQString .null)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  id | TDEStdAccel.StdAccel |
  descr | TQString | TQString .null

- isEnabled ()

  returns (bool)

- keycodeChanged ()

  returns nothing

- readSettings (pConfig = 0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  pConfig | TDEConfigBase | 0

- remove (sAction)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |

- removeItem (sAction)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |

- setAutoUpdate (bAuto)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  bAuto | bool |

- setConfigGroup (name)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  name | TQString |

- setEnabled (bEnabled)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  bEnabled | bool |

- setEnabled (sAction, bEnabled)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  bEnabled | bool |

- setItemEnabled (sAction, bEnable)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  bEnable | bool |

- setShortcut (sAction, shortcut)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  shortcut | TDEShortcut |

- setSlot (sAction, slot, )

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  slot | SLOT (Python callable) |

- setSlot (a0, a1, a2)

  returns (bool)
  In versions less than KDE 3.1.4 only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |
  a1 | TQObject |
  a2 | char |

- shortcut (sAction)

  returns (TDEShortcut)
  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |

- stringToKey (a0)

  returns (int)
  static
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |

- updateConnections ()

  returns (bool)

- writeSettings (pConfig = 0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  pConfig | TDEConfigBase | 0