#### 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)

- 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 |

- 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