#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KPushButton
Inherits | QPushButton

### methods

- KPushButton (parent, name = 0)

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

- KPushButton (text, parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  text | QString |
  parent | QWidget |
  name | char | 0

- KPushButton (icon, text, parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  icon | QIconSet |
  text | QString |
  parent | QWidget |
  name | char | 0

- KPushButton (item, parent, name = 0)

  returns a KPushButton instance
  Argument | Type | Default
  --- | --- | ---
  item | KGuiItem |
  parent | QWidget |
  name | char | 0

- dragObject ()

  returns (QDragObject)

- guiItem ()

  returns (KStdGuiItem.StdItem)
  In versions KDE 3.4.0 and above only

- guiItm ()

  returns (int)
  In versions KDE 3.4.0 and above only

- isDragEnabled ()

  returns (bool)

- mouseMoveEvent (a0)

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

- mousePressEvent (a0)

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

- setDragEnabled (enable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setGuiItem (item)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KGuiItem |

- setGuiItem (item)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  item | KStdGuiItem.StdItem |

- setGuiItm (itm)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  itm | int |

- setIconSet (iconSet)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  iconSet | QIconSet |

- setText (text)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | QString |

- startDrag ()

  returns nothing