#### PyKDE - Python Bindings for KDE

# class KEdit |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KEdit
Inherits | TQMultiLineEdit

### enums

- (anonymous) = {NONE, FORWARD, BACKWARD }

### methods

- CursorPositionChanged ()

  returns nothing

- KEdit (_parent = 0, name = 0)

  returns a KEdit instance
  Argument | Type | Default
  --- | --- | ---
  _parent | TQWidget | 0
  name | char | 0

- cleanWhiteSpace ()

  returns nothing

- computePosition ()

  returns nothing

- contentsDragEnterEvent (e)

  returns nothing
  In versions KDE 3.1.3 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQDragEnterEvent |

- contentsDragMoveEvent (e)

  returns nothing
  In versions KDE 3.1.3 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQDragMoveEvent |

- contentsDropEvent (e)

  returns nothing
  In versions KDE 3.1.3 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQDropEvent |

- corrected (originalword, newword, pos)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  originalword | TQString |
  newword | TQString |
  pos | uint |

- create (a0 = 0, initializeWindow = 1, destroyOldWindow = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | WId | 0
  initializeWindow | bool | 1
  destroyOldWindow | bool | 1

- createPopupMenu (pos)

  returns (TQPopupMenu)
  In versions KDE 3.2.3 and above only
  Argument | Type | Default
  --- | --- | ---
  pos | TQPoint |

- currentColumn ()

  returns (int)

- currentLine ()

  returns (int)

- doGotoLine ()

  returns nothing

- doReplace (s_pattern, case_sensitive, regex, forward, line, col, replace)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  s_pattern | TQString |
  case_sensitive | bool |
  regex | bool |
  forward | bool |
  line | int |
  col | int |
  replace | bool |

- doSearch (s_pattern, case_sensitive, regex, forward, line, col)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  s_pattern | TQString |
  case_sensitive | bool |
  regex | bool |
  forward | bool |
  line | int |
  col | int |

- dragEnterEvent (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQDragEnterEvent |

- dragMoveEvent (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQDragMoveEvent |

- dropEvent (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQDropEvent |

- ensureCursorVisible ()

  returns nothing
  In versions KDE 3.3.0 and above only

- gotUrlDrop (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQDropEvent |

- insertText (a0)

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

- installRBPopup (a0)

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

- keyPressEvent (a0)

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

- misspelling (word, a0, pos)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  word | TQString |
  a0 | TQStringList |
  pos | uint |

- posToRowCol (pos)

  returns line (uint) col (uint)
  Argument | Type | Default
  --- | --- | ---
  pos | uint |

- repeatSearch ()

  returns (bool)

- replace ()

  returns nothing

- saveText (a0, softWrap)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQTextStream |
  softWrap | bool |

- saveText (a0)

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

- search ()

  returns nothing

- selectFont ()

  returns nothing

- selectWordUnderCursor ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- setAutoUpdate (b)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setCursor (a0)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQCursor |

- setOverwriteEnabled (b)

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

- spellcheck_start ()

  returns nothing

- spellcheck_stop ()

  returns nothing

- toggle_overwrite_signal ()

  returns nothing

- viewportPaintEvent (a0)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQPaintEvent |