KCompletion
kcompletionbase.h
An abstract base class for adding a completion feature into widgets.
Definition kcompletionbase.h:37
void setDelegate(KCompletionBase *delegate)
Sets or removes the delegation object.
Definition kcompletionbase.cpp:70
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.
KCompletion * compObj() const
Returns a pointer to the completion object.
Definition kcompletionbase.cpp:246
virtual void virtual_hook(int id, void *data)
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Definition kcompletionbase.cpp:269
void setKeyBindingMap(KeyBindingMap keyBindingMap)
Sets the keymap.
Definition kcompletionbase.cpp:258
KeyBindingType
Constants that represent the items whose shortcut key binding is programmable.
Definition kcompletionbase.h:45
@ NextCompletionMatch
Switch to next completion (by default Ctrl-Down).
Definition kcompletionbase.h:57
@ PrevCompletionMatch
Switch to previous completion (by default Ctrl-Up).
Definition kcompletionbase.h:53
CompletionMode
This enum describes the completion mode used for by the KCompletion class.
Definition kcompletion.h:131
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.