#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KCommandHistory
Inherits | QObject

### methods

- KCommandHistory ()

  returns a KCommandHistory instance

- KCommandHistory (actionCollection, withMenus = 1)

  returns a KCommandHistory instance
  Argument | Type | Default
  --- | --- | ---
  actionCollection | KActionCollection |
  withMenus | bool | 1

- addCommand (command, execute = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  command | KCommand |
  execute | bool | 1

- clear ()

  returns nothing

- commandExecuted ()

  returns nothing

- commandExecuted (command)

  returns nothing
  In versions KDE 3.5.0 and above only
  Argument | Type | Default
  --- | --- | ---
  command | KCommand |

- documentRestored ()

  returns nothing

- documentSaved ()

  returns nothing

- redo ()

  returns nothing

- redoLimit ()

  returns (int)

- setRedoLimit (limit)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  limit | int |

- setUndoLimit (limit)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  limit | int |

- slotRedoAboutToShow ()

  returns nothing

- slotRedoActivated (a0)

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

- slotUndoAboutToShow ()

  returns nothing

- slotUndoActivated (a0)

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

- undo ()

  returns nothing

- undoLimit ()

  returns (int)

- updateActions ()

  returns nothing