KCompletion
kcompletionbase.cpp
215 for (KeyBindingMap::Iterator it = d->keyBindingMap.begin(); it != d->keyBindingMap.end(); ++it) {
An abstract base class for adding a completion feature into widgets.
Definition kcompletionbase.h:37
QList< QKeySequence > keyBinding(KeyBindingType item) const
Returns the key binding used for the specified item.
Definition kcompletionbase.cpp:225
bool handleSignals() const
Returns true if the object handles the signals.
Definition kcompletionbase.cpp:163
void setEmitSignals(bool emitRotationSignals)
Sets whether the object emits rotation signals.
Definition kcompletionbase.cpp:175
virtual void setCompletionMode(KCompletion::CompletionMode mode)
Sets the type of completion to be used.
Definition kcompletionbase.cpp:185
void setDelegate(KCompletionBase *delegate)
Sets or removes the delegation object.
Definition kcompletionbase.cpp:70
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
virtual void setCompletionObject(KCompletion *completionObject, bool handleSignals=true)
Sets up the completion object to be used.
Definition kcompletionbase.cpp:104
virtual void virtual_hook(int id, void *data)
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Definition kcompletionbase.cpp:269
KCompletion * completionObject(bool handleSignals=true)
Returns a pointer to the current completion object.
Definition kcompletionbase.cpp:90
bool emitSignals() const
Returns true if the object emits the signals.
Definition kcompletionbase.cpp:169
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
void setAutoDeleteCompletionObject(bool autoDelete)
Sets the completion object when this widget's destructor is called.
Definition kcompletionbase.cpp:143
KCompletion::CompletionMode completionMode() const
Returns the current completion mode.
Definition kcompletionbase.cpp:201
void setEnableSignals(bool enable)
Sets the widget's ability to emit text completion and rotation signals.
Definition kcompletionbase.cpp:153
void setKeyBindingMap(KeyBindingMap keyBindingMap)
Sets the keymap.
Definition kcompletionbase.cpp:258
bool isCompletionObjectAutoDeleted() const
Returns true if the completion object is deleted upon this widget's destruction.
Definition kcompletionbase.cpp:137
void useGlobalKeyBindings()
Sets this object to use global values for key bindings.
Definition kcompletionbase.cpp:231
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
@ CompletionPopup
Lists all possible matches in a popup list box to choose from.
Definition kcompletion.h:151
Iterator
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 12:00:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 12:00:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.