#### PyKDE - Python Bindings for KDE

# class KToggleAction

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KToggleAction
Inherits | KAction

### methods

- KToggleAction (a0, a1 = KShortcut (), a2 = 0, a3 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | KShortcut | KShortcut ()
  a2 | QObject | 0
  a3 | char | 0

- KToggleAction (a0, a1, slot, a4, a5 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | KShortcut |
  slot | SLOT (Python callable) |
  a4 | QObject |
  a5 | char | 0

- KToggleAction (text, pix, cut = KShortcut (), parent = 0, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  pix | QString |
  cut | KShortcut | KShortcut ()
  parent | QObject | 0
  name | char | 0

- KToggleAction (text, pix, cut, slot, parent, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  pix | QIconSet |
  cut | KShortcut |
  slot | SLOT (Python callable) |
  parent | QObject |
  name | char | 0

- KToggleAction (text, pix, cut, slot, parent, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  pix | QString |
  cut | KShortcut |
  slot | SLOT (Python callable) |
  parent | QObject |
  name | char | 0

- KToggleAction (parent = 0, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0
  name | char | 0

- KToggleAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | QIconSet |
  a2 | KShortcut | KShortcut ()
  a3 | QObject | 0
  a4 | char | 0

- KToggleAction (a0, a1, a2 = KShortcut (), a3 = 0, a4 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | QString |
  a2 | KShortcut | KShortcut ()
  a3 | QObject | 0
  a4 | char | 0

- KToggleAction (a0, a1, a2, slot, a5, a6 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | QIconSet |
  a2 | KShortcut |
  slot | SLOT (Python callable) |
  a5 | QObject |
  a6 | char | 0

- KToggleAction (a0, a1, a2, slot, a5, a6 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | QString |
  a2 | KShortcut |
  slot | SLOT (Python callable) |
  a5 | QObject |
  a6 | char | 0

- KToggleAction (a0 = 0, a1 = 0)

  returns a KToggleAction instance
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QObject | 0
  a1 | char | 0

- KToggleAction (text, cut = KShortcut (), parent = 0, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  cut | KShortcut | KShortcut ()
  parent | QObject | 0
  name | char | 0

- KToggleAction (text, cut, slot, parent, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  cut | KShortcut |
  slot | SLOT (Python callable) |
  parent | QObject |
  name | char | 0

- KToggleAction (text, pix, cut = KShortcut (), parent = 0, name = 0)

  returns a KToggleAction instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  pix | QIconSet |
  cut | KShortcut | KShortcut ()
  parent | QObject | 0
  name | char | 0

- exclusiveGroup ()

  returns (QString)
  In versions less than KDE 3.2.0 only

- exclusiveGroup ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- isChecked ()

  returns (bool)
  In versions less than KDE 3.2.0 only

- isChecked ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- plug (a0, a1 = -1)

  returns (int)
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget |
  a1 | int | -1

- plug (widget, index = -1)

  returns (int)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  index | int | -1

- setChecked (a0)

  returns nothing
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setChecked (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setCheckedState (checkedItem)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  checkedItem | KGuiItem |

- setExclusiveGroup (a0)

  returns nothing
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- setExclusiveGroup (name)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- slotActivated ()

  returns nothing
  In versions less than KDE 3.2.0 only

- slotActivated ()

  returns nothing
  In versions KDE 3.2.0 and above only

- toggled (a0)

  returns nothing
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- toggled (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- toolTip ()

  returns (QString)
  In versions KDE 3.3.0 and above only

- updateChecked (a0)

  returns nothing
  In versions less than KDE 3.2.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- updateChecked (id)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  id | int |