#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KKeyButton
Inherits | QPushButton

### methods

- KKeyButton (parent = 0, name = 0)

  returns a KKeyButton instance
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0

- captureShortcut ()

  returns nothing

- capturedShortcut (a0)

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

- drawButton (_painter)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  _painter | QPainter |

- setShortcut (cut)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  cut | KShortcut |

- setShortcut (cut, bQtShortcut)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  cut | KShortcut |
  bQtShortcut | bool |

- setText (text)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  text | QString |

- shortcut ()

  returns (KShortcut)