kcombobox.h
void returnPressed(const TQString &)
Emitted when the user presses the Enter key.
void setEditURL(const KURL &url)
Sets url into the edit field of the combobox.
Definition kcombobox.cpp:198
void completionModeChanged(TDEGlobalSettings::Completion)
Emitted whenever the completion mode is changed by the user through the context menu.
void aboutToShowContextMenu(TQPopupMenu *p)
Emitted before the context menu is displayed.
void setCurrentItem(const TQString &item, bool insert=false, int index=-1)
Selects the first item that matches item.
Definition kcombobox.cpp:306
bool isURLDropsEnabled() const
Returns true when decoded URL drops are enabled.
Definition kcombobox.cpp:138
void insertURL(const KURL &url, int index=-1)
Inserts url at position index into the combobox.
Definition kcombobox.cpp:203
void textRotation(TDECompletionBase::KeyBindingType)
Emitted when the text rotation key-bindings are pressed.
virtual void setContextMenuEnabled(bool showMenu)
Enables or disable the popup (context) menu.
Definition kcombobox.cpp:125
bool isContextMenuEnabled() const
Returns true when the context menu is enabled.
Definition kcombobox.h:277
void setTrapReturnKey(bool trap)
By default, KComboBox recognizes Key_Return and Key_Enter and emits the returnPressed() signals,...
Definition kcombobox.cpp:184
void changeURL(const KURL &url, int index)
Replaces the item at position index with url.
Definition kcombobox.cpp:213
void setURLDropsEnabled(bool enable)
Enables/Disables handling of URL drops.
Definition kcombobox.cpp:132
void substringCompletion(const TQString &)
Emitted when the shortcut for substring completion is pressed.
void rotateText(TDECompletionBase::KeyBindingType type)
Iterates through all possible matches of the completed text or the history list.
Definition kcombobox.cpp:172
virtual void setAutoCompletion(bool autocomplete)
Re-implemented from TQComboBox.
Definition kcombobox.cpp:108
KComboBox(TQWidget *parent=0, const char *name=0)
Constructs a read-only or rather select-only combo box with a parent object and a name.
Definition kcombobox.cpp:60
A dialog base class with standard buttons and predefined layouts.
Definition kdialogbase.h:192
void insertItems(const TQStringList &items)
Inserts items into the combo, honoring pixmapProvider() Does not update the completionObject.
Definition kcombobox.cpp:673
void cleared()
Emitted when the history was cleared by the entry in the popup menu.
virtual void wheelEvent(TQWheelEvent *ev)
Handling wheel-events, to rotate the items.
Definition kcombobox.cpp:630
virtual void keyPressEvent(TQKeyEvent *)
Handling key-events, the shortcuts to rotate the items.
Definition kcombobox.cpp:614
KHistoryCombo(TQWidget *parent=0L, const char *name=0L)
Constructs a "read-write" combobox.
Definition kcombobox.cpp:361
TDECompletion * compObj() const
TDEGlobalSettings::Completion completionMode() const
virtual void setCompletedItems(const TQStringList &items)=0
TDECompletionBase()
virtual void setCompletedText(const TQString &text)=0
KeyBindingType
A helper widget for "completion-widgets" (KLineEdit, KComboBox)).
Definition tdecompletionbox.h:44
Completion
CompletionAuto
Trinity API Reference