KDEUI
kcompletion.h
Go to the documentation of this file.
146 };
670 };
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.
QMap< KeyBindingType, KShortcut > KeyBindingMap
Definition: kcompletion.h:674
KeyBindingType
Constants that represent the items whose short-cut key-binding is programmable.
Definition: kcompletion.h:653
@ PrevCompletionMatch
Switch to previous completion (by default Ctrl-Up).
Definition: kcompletion.h:661
This structure is returned by KCompletion::allWeightedMatches .
Definition: kcompletion.h:580
void slotPreviousMatch()
Searches the previous matching item and emits it via match().
Definition: kcompletion.h:395
void multipleMatches()
This signal is emitted, when calling makeCompletion() and more than one matching item is found.
CompOrder
Constants that represent the order in which KCompletion performs completion-lookups.
Definition: kcompletion.h:143
void slotMakeCompletion(const QString &string)
Attempts to complete "string" and emits the completion via match().
Definition: kcompletion.h:386
void slotNextMatch()
Searches the next matching item and emits it via match().
Definition: kcompletion.h:404
Completion
This enum describes the completion mode used for by the KCompletion class.
Definition: kglobalsettings.h:179
Defines platform-independent classes for keyboard shortcut handling.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.