class KComboBox

#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KComboBox
Inherits | QComboBox, KCompletionBase

### methods

- KComboBox (parent = 0, name = 0)

  returns a KComboBox instance
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0

- KComboBox (rw, parent = 0, name = 0)

  returns a KComboBox instance
  Argument | Type | Default
  --- | --- | ---
  rw | bool |
  parent | QWidget | 0
  name | char | 0

- aboutToShowContextMenu (p)

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

- autoCompletion ()

  returns (bool)

- changeURL (url, index)

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

- changeURL (pixmap, url, index)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |
  url | KURL |
  index | int |

- completion (a0)

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

- completionBox (create)

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

- completionModeChanged (a0)

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

- contains (text)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  text | QString |

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

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

- cursorPosition ()

  returns (int)

- eventFilter (a0, a1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  a0 | QObject |
  a1 | QEvent |

- insertURL (url, index = -1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  index | int | -1

- insertURL (pixmap, url, index = -1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |
  url | KURL |
  index | int | -1

- isContextMenuEnabled ()

  returns (bool)

- isURLDropsEnabled ()

  returns (bool)

- itemSelected (a0)

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

- makeCompletion (a0)

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

- returnPressed ()

  returns nothing

- returnPressed (a0)

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

- rotateText (type)

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

- setAutoCompletion (autocomplete)

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

- setCompletedItems (items)

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

- setCompletedText (a0)

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

- setCompletedText (a0, a1)

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

- setContextMenuEnabled (showMenu)

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

- setCurrentItem (item, insert = 0, index = -1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | QString |
  insert | bool | 0
  index | int | -1

- setCurrentItem (index)

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

- setEditURL (url)

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

- setLineEdit (a0)

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

- setTrapReturnKey (trap)

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

- setURLDropsEnabled (enable)

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

- substringCompletion (a0)

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

- textRotation (a0)

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

- trapReturnKey ()

  returns (bool)

- wheelEvent (ev)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  ev | QWheelEvent |