KTextEditor
codecompletionmodel.h
Go to the documentation of this file.
86 Prefix = 0,
94 Postfix
99 NoProperty = 0x0,
100 FirstProperty = 0x1,
103 Public = 0x1,
104 Protected = 0x2,
105 Private = 0x4,
108 Static = 0x8,
112 Namespace = 0x20,
113 Class = 0x40,
114 Struct = 0x80,
115 Union = 0x100,
116 Function = 0x200,
117 Variable = 0x400,
118 Enum = 0x800,
119 Template = 0x1000,
120 TypeAlias = 0x2000,
123 Virtual = 0x4000,
124 Override = 0x8000,
125 Inline = 0x10000,
126 Friend = 0x20000,
127 Signal = 0x40000,
128 Slot = 0x80000,
131 LocalScope = 0x100000,
132 NamespaceScope = 0x200000,
133 GlobalScope = 0x400000,
136 LastProperty = GlobalScope
141 NoHighlighting = 0x0,
142 InternalHighlighting = 0x1,
143 CustomHighlighting = 0x2
151 CompletionRole = Qt::UserRole,
360 LastExtraItemDataRole
370 ManualInvocation
384 virtual void completionInvoked(KTextEditor::View* view, const KTextEditor::Range& range, InvocationType invocationType);
409 virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const;
491 virtual void executeCompletionItem2(Document* document, const Range& word, const QModelIndex& index) const;
Is requested before MatchQuality(..) is requested.
Definition: codecompletionmodel.h:182
Returns the inheritance depth of the completion.
Definition: codecompletionmodel.h:213
QString Const
Allows an item to provide custom highlighting.
Definition: codecompletionmodel.h:204
HighlightMethod
Definition: codecompletionmodel.h:140
After a model returned true for a row on IsExpandable, the row may be expanded by the user...
Definition: codecompletionmodel.h:245
Whenever an item is selected, this will be requested from the underlying model.
Definition: codecompletionmodel.h:253
Icon representing the type of completion.
Definition: codecompletionmodel.h:90
This allows items in the completion-list to be expandable.
Definition: codecompletionmodel.h:220
A KParts derived class representing a text document.
Definition: document.h:111
AccessibilityAccept will be requested on an item if it is expanded, contains an expanding-widget, and the user triggers a special shortcut to trigger the action associated with the position within the expanding-widget the user has navigated to using AccessibilityNext and AccessibilityPrevious.
Definition: codecompletionmodel.h:321
Return a nonzero value here to enforce sorting the item at the end of the list.
Definition: codecompletionmodel.h:358
If requested, your model should try to determine whether the completion in question is a suitable mat...
Definition: codecompletionmodel.h:172
This will be requested for each item to ask whether it should be included in computing a best-matches...
Definition: codecompletionmodel.h:295
An object representing a section of text, from one Cursor to another.
Definition: range.h:54
Define which highlighting method will be used:
Definition: codecompletionmodel.h:189
The model should return an index to the scope -1 represents no scope.
Definition: codecompletionmodel.h:156
Using this Role, it is possible to greatly optimize the time needed to process very long completion-l...
Definition: codecompletionmodel.h:353
You must inherit your completion-model from CodeCompletionModel2 if you want to use a hierarchical st...
Definition: codecompletionmodel.h:477
The following three enumeration-values are only used on expanded completion-list items that contain a...
Definition: codecompletionmodel.h:307
CompletionProperty
Definition: codecompletionmodel.h:98
Is this completion-item an argument-hint? The model should return an integral positive number if the ...
Definition: codecompletionmodel.h:284
A text widget with KXMLGUIClient that represents a Document.
Definition: view.h:145
AccessibilityPrevious will be requested on an item if it is expanded, contains an expanding-widget...
Definition: codecompletionmodel.h:314
An item model for providing code completion, and meta information for enhanced presentation.
Definition: codecompletionmodel.h:77
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.