#### PyKDE - Python Bindings for KDE

# class KAccelBase |
Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KAccelBase (abstract)
Inherits |

### enums

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

### methods

- KAccelBase (fInitCode)

  returns a KAccelBase instance
  Argument | Type | Default
  --- | --- | ---
  fInitCode | int |

- actionCount ()

  returns (uint)

- actionPtr (sAction)

  returns (KAccelAction)
  Argument | Type | Default
  --- | --- | ---
  sAction | QString |

- actionPtr (key)

  returns (KAccelAction)
  Argument | Type | Default
  --- | --- | ---
  key | KKey |

- actionPtr (key)

  returns (KAccelAction)
  Argument | Type | Default
  --- | --- | ---
  key | KKeyServer.Key |

- actions ()

  returns (KAccelActions)

- configGroup ()

  returns (QString)

- connectKey (a0, a1) = 0

  returns (bool)
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  a0 | KAccelAction |
  a1 | KKeyServer.Key |

- connectKey (a0) = 0

  returns (bool)
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  a0 | KKeyServer.Key |

- createKeyList (rgKeys)

  Not Implemented

- createPopupMenu (pParent, a0)

  returns (QPopupMenu)
  Argument | Type | Default
  --- | --- | ---
  pParent | QWidget |
  a0 | KKeySequence |

- disconnectKey (a0, a1) = 0

  returns (bool)
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  a0 | KAccelAction |
  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 | KAccelBase.Signal |

- getAutoUpdate ()

  returns (bool)

- insert (sName, sDesc)

  returns (KAccelAction)
  Argument | Type | Default
  --- | --- | ---
  sName | QString |
  sDesc | QString |

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

  returns (KAccelAction)
  Argument | Type | Default
  --- | --- | ---
  sAction | QString |
  sDesc | QString |
  sHelp | QString |
  rgCutDefaults3 | KShortcut |
  rgCutDefaults4 | KShortcut |
  pObjSlot | QObject |
  psMethodSlot | char |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insertConnection (a0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  a0 | KAccelAction |

- isEnabled ()

  returns (bool)

- isEnabledInternal ()

  returns (bool)
  In versions KDE 3.5.0 and above only

- readSettings (pConfig = 0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pConfig | KConfigBase | 0

- remove (sAction)

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

- removeConnection (a0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  a0 | KAccelAction |

- setActionEnabled (sAction, bEnable)

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

- setActionSlot (sAction, pObjSlot, psMethodSlot)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | QString |
  pObjSlot | QObject |
  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 | QString |

- setEnabled (bEnabled) = 0

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

- setShortcut (sAction, cut)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  sAction | QString |
  cut | KShortcut |

- slotRemoveAction (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | KAccelAction |

- updateConnections ()

  returns (bool)

- writeSettings (pConfig = 0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pConfig | KConfigBase | 0