#### PyKDE - Python Bindings for KDE

# class KGlobalAccel

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KGlobalAccel
Inherits | QObject

### methods

- KGlobalAccel (pParent, psName = 0)

  returns a KGlobalAccel instance

  Argument | Type | Default
  --- | --- | ---
  pParent | QObject |
  psName | char | 0

- blockShortcuts (block)

  returns nothing
  In versions KDE 3.5.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  block | bool |

- configGroup ()

  returns (QString)

- disableBlocking (disable)

  returns nothing
  In versions KDE 3.5.0 and above only

  Argument | Type | Default
  --- | --- | ---
  disable | bool |

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

  returns (KAccelAction)

  Argument | Type | Default
  --- | --- | ---
  sAction | QString |
  sLabel | QString |
  sWhatsThis | QString |
  cutDef3 | KShortcut |
  cutDef4 | KShortcut |
  slot | SLOT (Python callable) |
  bConfigurable | bool | 1
  bEnabled | bool | 1

- insert (sName, sLabel)

  returns (KAccelAction)

  Argument | Type | Default
  --- | --- | ---
  sName | QString |
  sLabel | QString |

- isEnabled ()

  returns (bool)

- label (sAction)

  returns (QString)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  sAction | QString |

- readSettings (pConfig = 0)

  returns (bool)

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

- remove (sAction)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  sAction | QString |

- setActionEnabled (sAction, bEnable)

  returns (bool)
  In versions KDE 3.4.0 and above only

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

- setConfigGroup (cg)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  cg | QString |

- setEnabled (bEnabled)

  returns nothing

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

- setEnabled (a0, a1)

  Not Implemented

- setShortcut (sAction, shortcut)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sAction | QString |
  shortcut | KShortcut |

- setSlot (sAction, slot, )

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  sAction | QString |
  slot | SLOT (Python callable) |

- shortcut (sAction)

  returns (KShortcut)

  Argument | Type | Default
  --- | --- | ---
  sAction | QString |

- updateConnections ()

  returns (bool)

- useFourModifierKeys ()

  returns (bool)
  static

- writeSettings (pConfig = 0)

  returns (bool)

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

- writeSettings (pConfig, bGlobal)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  pConfig | KConfigBase |
  bGlobal | bool |