class KGuiItem

#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KGuiItem
Inherits |

### methods

- KGuiItem ()

  returns a KGuiItem instance

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

  returns a KGuiItem instance
  Argument | Type | Default
  --- | --- | ---
  text | QString |
  iconName | QString | QString .null
  toolTip | QString | QString .null
  whatsThis | QString | QString .null

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

  returns a KGuiItem instance
  Argument | Type | Default
  --- | --- | ---
  text | QString |
  iconSet | QIconSet |
  toolTip | QString | QString .null
  whatsThis | QString | QString .null

- KGuiItem (rhs)

  returns a KGuiItem instance
  Argument | Type | Default
  --- | --- | ---
  rhs | KGuiItem |

- hasIcon ()

  returns (bool)

- hasIconSet ()

  returns (bool)

- iconName ()

  returns (QString)

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

  returns (QIconSet)
  Argument | Type | Default
  --- | --- | ---
  a0 | KIcon.Group |
  size | int | 0
  instance | KInstance | KGlobal .instance ()

- iconSet ()

  returns (QIconSet)

- isEnabled ()

  returns (bool)

- plainText ()

  returns (QString)

- setEnabled (enable)

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

- setIconName (iconName)

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

- setIconSet (iconset)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  iconset | QIconSet |

- setText (text)

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

- setToolTip (tooltip)

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

- setWhatsThis (whatsThis)

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

- text ()

  returns (QString)

- toolTip ()

  returns (QString)

- whatsThis ()

  returns (QString)