KCompletion
kcompletionbase.cpp
140 return d->delegate ? d->delegate->isCompletionObjectAutoDeleted() : d->autoDeleteCompletionObject;
215 for (KeyBindingMap::Iterator it = d->keyBindingMap.begin(); it != d->keyBindingMap.end(); ++it) {
@ CompletionPopup
Lists all possible matches in a popup list box to choose from.
Definition: kcompletion.h:151
void useGlobalKeyBindings()
Sets this object to use global values for key bindings.
Definition: kcompletionbase.cpp:231
bool handleSignals() const
Returns true if the object handles the signals.
Definition: kcompletionbase.cpp:163
QCA_EXPORT void init()
@ PrevCompletionMatch
Switch to previous completion (by default Ctrl-Up).
Definition: kcompletionbase.h:53
bool isCompletionObjectAutoDeleted() const
Returns true if the completion object is deleted upon this widget's destruction.
Definition: kcompletionbase.cpp:137
CompletionMode
This enum describes the completion mode used for by the KCompletion class.
Definition: kcompletion.h:131
bool emitSignals() const
Returns true if the object emits the signals.
Definition: kcompletionbase.cpp:169
void setAutoDeleteCompletionObject(bool autoDelete)
Sets the completion object when this widget's destructor is called.
Definition: kcompletionbase.cpp:143
virtual void setHandleSignals(bool handle)
Enables this object to handle completion and rotation events internally.
Definition: kcompletionbase.cpp:127
KCompletion * compObj() const
Returns a pointer to the completion object.
Definition: kcompletionbase.cpp:246
@ NextCompletionMatch
Switch to next completion (by default Ctrl-Down).
Definition: kcompletionbase.h:57
void setDelegate(KCompletionBase *delegate)
Sets or removes the delegation object.
Definition: kcompletionbase.cpp:70
KCompletion::CompletionMode completionMode() const
Returns the current completion mode.
Definition: kcompletionbase.cpp:201
void setKeyBindingMap(KeyBindingMap keyBindingMap)
Sets the keymap.
Definition: kcompletionbase.cpp:258
virtual void setCompletionMode(KCompletion::CompletionMode mode)
Sets the type of completion to be used.
Definition: kcompletionbase.cpp:185
virtual void setCompletionObject(KCompletion *completionObject, bool handleSignals=true)
Sets up the completion object to be used.
Definition: kcompletionbase.cpp:104
An abstract class for adding text completion support to widgets.
Definition: kcompletionbase.h:36
virtual void virtual_hook(int id, void *data)
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Definition: kcompletionbase.cpp:269
KeyBindingType
Constants that represent the items whose shortcut key binding is programmable.
Definition: kcompletionbase.h:45
void setEmitSignals(bool emitRotationSignals)
Sets whether the object emits rotation signals.
Definition: kcompletionbase.cpp:175
KCompletion * completionObject(bool handleSignals=true)
Returns a pointer to the current completion object.
Definition: kcompletionbase.cpp:90
QList< QKeySequence > keyBinding(KeyBindingType item) const
Returns the key binding used for the specified item.
Definition: kcompletionbase.cpp:225
void setEnableSignals(bool enable)
Sets the widget's ability to emit text completion and rotation signals.
Definition: kcompletionbase.cpp:153
bool setKeyBinding(KeyBindingType item, const QList< QKeySequence > &key)
Sets the key binding to be used for manual text completion, text rotation in a history list as well a...
Definition: kcompletionbase.cpp:207
Q_D(Todo)
typedef Iterator
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jul 4 2022 03:59:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jul 4 2022 03:59:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.