kcompletion.h
147 Weighted
687 SubstringCompletion
815 bool handleSignals() const { return m_delegate ? m_delegate->handleSignals() : m_bHandleSignals; }
953 KCompletion* compObj() const { return m_delegate ? m_delegate->compObj() : (KCompletion*) m_pCompObj; }
964 KeyBindingMap getKeyBindings() const { return m_delegate ? m_delegate->getKeyBindings() : m_keyMap; }
const KShortcut & getKeyBinding(KeyBindingType item) const
Returns the key-binding used for the specified item.
Definition: kcompletion.h:902
void setEnableSignals(bool enable)
Sets the widget's ability to emit text completion and rotation signals.
Definition: kcompletion.h:803
KSortableValueList is a special TQValueList for KSortableItem.
Definition: ksortablevaluelist.h:130
Switch to next completion (by default Ctrl-Down).
Definition: kcompletion.h:683
virtual void postProcessMatches(TQStringList *matches) const
This method is called before a list of all available completions is emitted via matches.
Definition: kcompletion.h:540
CompOrder
Constants that represent the order in which KCompletion performs completion-lookups.
Definition: kcompletion.h:145
void slotPreviousMatch()
Searches the previous matching item and emits it via match().
Definition: kcompletion.h:416
The KShortcut class is used to represent a keyboard shortcut to an action.
Definition: kshortcut.h:543
Switch to previous completion (by default Ctrl-Up).
Definition: kcompletion.h:679
virtual void postProcessMatches(KCompletionMatches *matches) const
This method is called before a list of all available completions is emitted via matches.
Definition: kcompletion.h:552
bool sorting() const
If sorting() returns false, the matches aren't sorted by their weight, even if true is passed to list...
Definition: kcompletion.h:641
void slotMakeCompletion(const TQString &string)
Attempts to complete "string" and emits the completion via match().
Definition: kcompletion.h:407
bool handleSignals() const
Returns true if the object handles the signals.
Definition: kcompletion.h:815
void setAutoDeleteCompletionObject(bool autoDelete)
Sets the completion object when this widget's destructor is called.
Definition: kcompletion.h:776
This structure is returned by KCompletion::allWeightedMatches .
Definition: kcompletion.h:615
bool isCompletionObjectAutoDeleted() const
Returns true if the completion object is deleted upon this widget's destruction.
Definition: kcompletion.h:763
KGlobalSettings::Completion completionMode() const
Return the current completion mode.
Definition: kcompletion.h:269
An abstract base class for adding a completion feature into widgets.
Definition: kcompletion.h:663
bool ignoreCase() const
Return whether KCompletion acts case insensitively or not.
Definition: kcompletion.h:317
Completion
This enum describes the completion mode used for by the KCompletion class.
Definition: kglobalsettings.h:178
virtual void postProcessMatch(TQString *match) const
This method is called after a completion is found and before the matching string is emitted...
Definition: kcompletion.h:528
bool emitSignals() const
Returns true if the object emits the signals.
Definition: kcompletion.h:822
KeyBindingType
Constants that represent the items whose short-cut key-binding is programmable.
Definition: kcompletion.h:671
void slotNextMatch()
Searches the next matching item and emits it via match().
Definition: kcompletion.h:425
bool hasMultipleMatches() const
Returns true when more than one match is found.
Definition: kcompletion.h:384
bool isSoundsEnabled() const
Tells you whether KCompletion will play sounds on certain occasions.
Definition: kcompletion.h:377
KGlobalSettings::Completion completionMode() const
Returns the current completion mode.
Definition: kcompletion.h:854
KCompletion * compObj() const
Returns a pointer to the completion object.
Definition: kcompletion.h:953
virtual void setEnableSounds(bool enable)
Enables/disables playing a sound when.
Definition: kcompletion.h:368