#### PyKDE - Python Bindings for KDE

# class TDEAccelBase

Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | TDEAccelBase (abstract)
Inherits |

### enums

- Init = {QT_KEYS, NATIVE_KEYS }
- Signal = {KEYCODE_CHANGED }

### methods

- TDEAccelBase (fInitCode)

  returns a TDEAccelBase instance

  Argument | Type | Default
  --- | --- | ---
  fInitCode | int |

- actionCount ()

  returns (uint)

- actionPtr (sAction)

  returns (TDEAccelAction)

  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |

- actionPtr (key)

  returns (TDEAccelAction)

  Argument | Type | Default
  --- | --- | ---
  key | KKey |

- actionPtr (key)

  returns (TDEAccelAction)

  Argument | Type | Default
  --- | --- | ---
  key | KKeyServer.Key |

- actions ()

  returns (TDEAccelActions)

- configGroup ()

  returns (TQString)

- connectKey (a0, a1) = 0

  returns (bool)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEAccelAction |
  a1 | KKeyServer.Key |

- connectKey (a0) = 0

  returns (bool)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | KKeyServer.Key |

- createKeyList (rgKeys)

  Not Implemented

- createPopupMenu (pParent, a0)

  returns (TQPopupMenu)

  Argument | Type | Default
  --- | --- | ---
  pParent | TQWidget |
  a0 | KKeySequence |

- disconnectKey (a0, a1) = 0

  returns (bool)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEAccelAction |
  a1 | KKeyServer.Key |

- disconnectKey (a0) = 0

  returns (bool)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | KKeyServer.Key |

- emitSignal (a0) = 0

  returns (bool)
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEAccelBase.Signal |

- getAutoUpdate ()

  returns (bool)

- insert (sName, sDesc)

  returns (TDEAccelAction)

  Argument | Type | Default
  --- | --- | ---
  sName | TQString |
  sDesc | TQString |

- insert (sAction, sDesc, sHelp, rgCutDefaults3, rgCutDefaults4, pObjSlot, psMethodSlot, bConfigurable = 1, bEnabled = 1)

  returns (TDEAccelAction)

  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  sDesc | TQString |
  sHelp | TQString |
  rgCutDefaults3 | TDEShortcut |
  rgCutDefaults4 | TDEShortcut |
  pObjSlot | TQObject |
  psMethodSlot | char |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insertConnection (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEAccelAction |

- isEnabled ()

  returns (bool)

- isEnabledInternal ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- readSettings (pConfig = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  pConfig | TDEConfigBase | 0

- remove (sAction)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |

- removeConnection (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEAccelAction |

- setActionEnabled (sAction, bEnable)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  bEnable | bool |

- setActionSlot (sAction, pObjSlot, psMethodSlot)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  pObjSlot | TQObject |
  psMethodSlot | char |

- setAutoUpdate (bAuto)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  bAuto | bool |

- setConfigGlobal (global)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  global | bool |

- setConfigGroup (group)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  group | TQString |

- setEnabled (bEnabled) = 0

  returns nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  bEnabled | bool |

- setShortcut (sAction, cut)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sAction | TQString |
  cut | TDEShortcut |

- slotRemoveAction (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEAccelAction |

- updateConnections ()

  returns (bool)

- writeSettings (pConfig = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  pConfig | TDEConfigBase | 0