class KKeyButton

#### PyKDE - Python Bindings for KDE

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

Module | tdeui
Class | KKeyButton
Inherits | TQPushButton

### methods

- KKeyButton (parent = 0, name = 0)

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

- captureShortcut ()

  returns nothing

- capturedShortcut (a0)

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

- drawButton (_painter)

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

- setShortcut (cut)

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

- setShortcut (cut, bTQtShortcut)

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

- setText (text)

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

- shortcut ()

  returns (TDEShortcut)