#### PyKDE - Python Bindings for KDE

# class KCompletionBase |
Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KCompletionBase (abstract)
Inherits |

### enums

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

### methods

- KCompletionBase ()

  returns a KCompletionBase instance

- compObj ()

  returns (KCompletion)

- completionMode ()

  returns (KGlobalSettings.Completion)

- completionObject (hsig = 1)

  returns (KCompletion)
  Argument | Type | Default
  --- | --- | ---
  hsig | bool | 1

- delegate ()

  returns (KCompletionBase)

- emitSignals ()

  returns (bool)

- getKeyBinding (item)

  returns (KShortcut)
  Argument | Type | Default
  --- | --- | ---
  item | KCompletionBase.KeyBindingType |

- getKeyBindings ()

  returns (KCompletionBase.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 | QStringList |

- setCompletedText (text) = 0

  returns nothing
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  text | QString |

- setCompletionMode (mode)

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

- setCompletionObject (compObj, hsig = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  compObj | KCompletion |
  hsig | bool | 1

- setDelegate (delegate)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  delegate | KCompletionBase |

- 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 | KCompletionBase.KeyBindingType |
  key | KShortcut |

- useGlobalKeyBindings ()

  returns nothing