#### PyKDE - Python Bindings for KDE

# class KGuiItem

Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KGuiItem
Inherits |

### methods

- KGuiItem ()

  returns a KGuiItem instance

- KGuiItem (text, iconName = TQString .null, toolTip = TQString .null, whatsThis = TQString .null)

  returns a KGuiItem instance

  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  iconName | TQString | TQString .null
  toolTip | TQString | TQString .null
  whatsThis | TQString | TQString .null

- KGuiItem (text, iconSet, toolTip = TQString .null, whatsThis = TQString .null)

  returns a KGuiItem instance

  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  iconSet | TQIconSet |
  toolTip | TQString | TQString .null
  whatsThis | TQString | TQString .null

- KGuiItem (rhs)

  returns a KGuiItem instance

  Argument | Type | Default
  --- | --- | ---
  rhs | KGuiItem |

- hasIcon ()

  returns (bool)

- hasIconSet ()

  returns (bool)

- iconName ()

  returns (TQString)

- iconSet (a0, size = 0, instance = TDEGlobal .instance ())

  returns (TQIconSet)

  Argument | Type | Default
  --- | --- | ---
  a0 | TDEIcon.Group |
  size | int | 0
  instance | TDEInstance | TDEGlobal .instance ()

- iconSet ()

  returns (TQIconSet)

- isEnabled ()

  returns (bool)

- plainText ()

  returns (TQString)

- setEnabled (enable)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setIconName (iconName)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  iconName | TQString |

- setIconSet (iconset)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  iconset | TQIconSet |

- setText (text)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- setToolTip (tooltip)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  tooltip | TQString |

- setWhatsThis (whatsThis)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  whatsThis | TQString |

- text ()

  returns (TQString)

- toolTip ()

  returns (TQString)

- whatsThis ()

  returns (TQString)