KDEUI
klineedit.h
Go to the documentation of this file.
149 class KDEUI_EXPORT KLineEdit : public QLineEdit, public KCompletionBase //krazy:exclude=qclasses
279 KCompletionBox * completionBox( bool create = true ); // KDE5 TODO: make virtual, so konq can reimplement i
virtual void contextMenuEvent(QContextMenuEvent *event)
void setText(const QString &)
A helper widget for "completion-widgets" (KLineEdit, KComboBox))
Definition: kcompletionbox.h:43
KAction * copy(const QObject *recvr, const char *slot, QObject *parent)
Copy the selected area into the clipboard.
Definition: kstandardaction.cpp:299
virtual bool event(QEvent *e)
const KShortcut & substringCompletion()
Find a string within another string or list of strings.
Definition: kstandardshortcut.cpp:368
QMenu * createStandardContextMenu()
virtual void setCompletedText(const QString &text)=0
A pure virtual function that must be implemented by all inheriting classes.
virtual void keyPressEvent(QKeyEvent *event)
void setReadOnly(bool)
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
Clear the content of the focus widget.
Definition: kstandardaction.cpp:314
virtual void focusOutEvent(QFocusEvent *e)
virtual void paintEvent(QPaintEvent *)
virtual void mouseReleaseEvent(QMouseEvent *e)
An abstract base class for adding a completion feature into widgets.
Definition: kcompletion.h:645
void returnPressed()
virtual void focusInEvent(QFocusEvent *e)
KAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
Creates an action corresponding to one of the KStandardAction::StandardAction actions, which is connected to the given object and slot, and is owned by parent.
Definition: kstandardaction.cpp:82
Completion
This enum describes the completion mode used for by the KCompletion class.
Definition: kglobalsettings.h:179
virtual void setCompletionObject(KCompletion *compObj, bool hsig=true)
Sets up the completion object to be used.
Definition: kcompletionbase.cpp:109
KeyBindingType
Constants that represent the items whose short-cut key-binding is programmable.
Definition: kcompletion.h:653
virtual void resizeEvent(QResizeEvent *event)
virtual void setCompletedItems(const QStringList &items, bool autoSuggest=true)=0
A pure virtual function that must be implemented by all inheriting classes.
virtual void mouseDoubleClickEvent(QMouseEvent *e)
virtual void mousePressEvent(QMouseEvent *e)
virtual void dropEvent(QDropEvent *e)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.