KDEUI
kcombobox.h
Go to the documentation of this file.
148 class KDEUI_EXPORT KComboBox : public QComboBox, public KCompletionBase //krazy:exclude=qclasses
void returnPressed(const QString &)
Emitted when the user presses the Enter key.
void substringCompletion(const QString &)
Emitted when the shortcut for substring completion is pressed.
void aboutToShowContextMenu(QMenu *p)
Emitted before the context menu is displayed.
void textRotation(KCompletionBase::KeyBindingType)
Emitted when the text rotation key-bindings are pressed.
void completionModeChanged(KGlobalSettings::Completion)
Emitted whenever the completion mode is changed by the user through the context menu.
void changeURL(const QPixmap &pixmap, const KUrl &url, int index)
Definition: kcombobox.h:191
void insertURL(const KUrl &url, int index=-1)
Deprecated to reflect Qt api changes.
Definition: kcombobox.h:185
void insertURL(const QPixmap &pixmap, const KUrl &url, int index=-1)
Definition: kcombobox.h:187
An abstract base class for adding a completion feature into widgets.
Definition: kcompletion.h:646
virtual void setCompletedItems(const QStringList &items, bool autoSuggest=true)=0
A pure virtual function that must be implemented by all inheriting classes.
virtual void setCompletedText(const QString &text)=0
A pure virtual function that must be implemented by all inheriting classes.
KeyBindingType
Constants that represent the items whose short-cut key-binding is programmable.
Definition: kcompletion.h:653
A helper widget for "completion-widgets" (KLineEdit, KComboBox))
Definition: kcompletionbox.h:44
Completion
This enum describes the completion mode used for by the KCompletion class.
Definition: kglobalsettings.h:179
KAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
Creates an action corresponding to one of the KStandardAction::StandardAction actions,...
Definition: kstandardaction.cpp:82
const KShortcut & insert()
Toggle insert/overwrite (with visual feedback, e.g.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Feb 3 2022 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Feb 3 2022 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.