class KLineEdit

#### PyKDE - Python Bindings for KDE

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

Module | tdeui
Class | KLineEdit
Inherits | TQLineEdit, TDECompletionBase

### methods

- KLineEdit (string, parent, name = 0)

  returns a KLineEdit instance
  Argument | Type | Default
  --- | --- | ---
  string | TQString |
  parent | TQWidget |
  name | char | 0

- KLineEdit (parent = 0, name = 0)

  returns a KLineEdit instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0

- aboutToShowContextMenu (p)

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

- autoSuggest ()

  returns (bool)
  In versions KDE 3.4.0 and above only

- clear ()

  returns nothing

- completion (a0)

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

- completionBox (create)

  returns (TDECompletionBox)
  Argument | Type | Default
  --- | --- | ---
  create | bool |

- completionBoxActivated (a0)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |

- completionModeChanged (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEGlobalSettings.Completion |

- contextMenuEvent (a0)

  returns nothing
  In versions KDE 3.3.1 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQContextMenuEvent |

- copy ()

  returns nothing
  In versions KDE 3.1.0 and above only

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

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

- createPopupMenu ()

  returns (TQPopupMenu)

- cursorAtEnd ()

  returns nothing

- dropEvent (a0)

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

- eventFilter (a0, a1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  a0 | TQObject |
  a1 | TQEvent |

- focusInEvent (a0)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQFocusEvent |

- isContextMenuEnabled ()

  returns (bool)

- isSqueezedTextEnabled ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- isURLDropsEnabled ()

  returns (bool)

- keyPressEvent (a0)

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

- makeCompletion (a0)

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

- mouseDoubleClickEvent (a0)

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

- mousePressEvent (a0)

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

- originalText ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- resizeEvent (a0)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | TQResizeEvent |

- returnPressed (a0)

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

- rotateText (type)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  type | TDECompletionBase.KeyBindingType |

- setCompletedItems (items)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |

- setCompletedItems (items, autoSuggest)

  returns nothing
  In versions KDE 3.3.0 and above only
  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |
  autoSuggest | bool |

- setCompletedText (a0)

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

- setCompletedText (a0, a1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |
  a1 | bool |

- setCompletionBox (box)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  box | TDECompletionBox |

- setCompletionMode (mode)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  mode | TDEGlobalSettings.Completion |

- setCompletionObject (a0, hsig = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDECompletion |
  hsig | bool | 1

- setContextMenuEnabled (showMenu)

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

- setEnableSqueezedText (enable)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setReadOnly (a0)

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

- setSqueezedText (text)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- setText (a0)

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

- setTrapReturnKey (trap)

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

- setURL (url)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |

- setURLDropsEnabled (enable)

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

- setUserSelection (userSelection)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  userSelection | bool |

- slotAboutToShow ()

  returns nothing

- slotCancelled ()

  returns nothing

- substringCompletion (a0)

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

- textRotation (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDECompletionBase.KeyBindingType |

- trapReturnKey ()

  returns (bool)

- userCancelled (cancelText)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  cancelText | TQString |