#### PyKDE - Python Bindings for KDE

# class TDECompletionBase

Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | TDECompletionBase (abstract)
Inherits |

### enums

- KeyBindingType = {TextCompletion, PrevCompletionMatch, NextCompletionMatch, SubstringCompletion }

### methods

- TDECompletionBase ()

  returns a TDECompletionBase instance

- compObj ()

  returns (TDECompletion)

- completionMode ()

  returns (TDEGlobalSettings.Completion)

- completionObject (hsig = 1)

  returns (TDECompletion)

  Argument | Type | Default
  --- | --- | ---
  hsig | bool | 1

- delegate ()

  returns (TDECompletionBase)

- emitSignals ()

  returns (bool)

- getKeyBinding (item)

  returns (TDEShortcut)

  Argument | Type | Default
  --- | --- | ---
  item | TDECompletionBase.KeyBindingType |

- getKeyBindings ()

  returns (TDECompletionBase.KeyBindingMap)

- handleSignals ()

  returns (bool)

- isCompletionObjectAutoDeleted ()

  returns (bool)

- setAutoDeleteCompletionObject (autoDelete)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  autoDelete | bool |

- setCompletedItems (items) = 0

  returns nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  items | TQStringList |

- setCompletedText (text) = 0

  returns nothing
  pure virtual

  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- setCompletionMode (mode)

  returns nothing

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

- setCompletionObject (compObj, hsig = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  compObj | TDECompletion |
  hsig | bool | 1

- setDelegate (delegate)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  delegate | TDECompletionBase |

- setEnableSignals (enable)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setHandleSignals (handle)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  handle | bool |

- setKeyBinding (item, key)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  item | TDECompletionBase.KeyBindingType |
  key | TDEShortcut |

- useGlobalKeyBindings ()

  returns nothing