Kate
#include <snippetcompletionmodel.h>
Public Member Functions | |
SnippetCompletionModel () | |
~SnippetCompletionModel () | |
void | completionInvoked (KTextEditor::View *view, const KTextEditor::Range &range, KTextEditor::CodeCompletionModel::InvocationType invocationType) |
virtual KTextEditor::Range | completionRange (KTextEditor::View *view, const KTextEditor::Cursor &position) |
QVariant | data (const QModelIndex &idx, int role=Qt::DisplayRole) const |
virtual void | executeCompletionItem2 (KTextEditor::Document *document, const KTextEditor::Range &word, const QModelIndex &index) const |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
virtual QModelIndex | parent (const QModelIndex &index) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual bool | shouldAbortCompletion (KTextEditor::View *view, const KTextEditor::Range &range, const QString ¤tCompletion) |
Public Member Functions inherited from KTextEditor::CodeCompletionModel2 | |
CodeCompletionModel2 (QObject *parent) | |
Public Member Functions inherited from KTextEditor::CodeCompletionModel | |
CodeCompletionModel (QObject *parent) | |
virtual | ~CodeCompletionModel () |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual void | executeCompletionItem (Document *document, const Range &word, int row) const |
bool | hasGroups () const |
virtual QMap< int, QVariant > | itemData (const QModelIndex &index) const |
void | setRowCount (int rowCount) |
Public Member Functions inherited from KTextEditor::CodeCompletionModelControllerInterface3 | |
CodeCompletionModelControllerInterface3 () | |
virtual | ~CodeCompletionModelControllerInterface3 () |
virtual void | aborted (View *view) |
virtual QString | filterString (View *view, const Range &range, const Cursor &position) |
virtual MatchReaction | matchingItem (const QModelIndex &matched) |
virtual bool | shouldExecute (const QModelIndex &selected, QChar inserted) |
virtual bool | shouldStartCompletion (View *view, const QString &insertedText, bool userInsertion, const Cursor &position) |
virtual Range | updateCompletionRange (View *view, const Range &range) |
Additional Inherited Members | |
Public Types inherited from KTextEditor::CodeCompletionModel | |
enum | Columns |
enum | CompletionProperty |
enum | ExtraItemDataRoles |
enum | HighlightMethod |
enum | InvocationType |
Public Types inherited from KTextEditor::CodeCompletionModelControllerInterface3 | |
enum | MatchReaction |
Signals inherited from KTextEditor::CodeCompletionModel | |
void | hasGroupsChanged (KTextEditor::CodeCompletionModel *model, bool hasGroups) |
void | waitForReset () |
Static Public Attributes inherited from KTextEditor::CodeCompletionModel | |
static const int | ColumnCount |
static const int | LastItemDataRole |
Protected Member Functions inherited from KTextEditor::CodeCompletionModel | |
void | setHasGroups (bool hasGroups) |
Detailed Description
Definition at line 39 of file snippetcompletionmodel.h.
Constructor & Destructor Documentation
SnippetCompletionModel::SnippetCompletionModel | ( | ) |
Definition at line 37 of file snippetcompletionmodel.cpp.
SnippetCompletionModel::~SnippetCompletionModel | ( | ) |
Definition at line 43 of file snippetcompletionmodel.cpp.
Member Function Documentation
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModel.
Definition at line 81 of file snippetcompletionmodel.cpp.
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModelControllerInterface3.
Definition at line 157 of file snippetcompletionmodel.cpp.
QVariant SnippetCompletionModel::data | ( | const QModelIndex & | idx, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 49 of file snippetcompletionmodel.cpp.
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModel2.
Definition at line 72 of file snippetcompletionmodel.cpp.
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModel.
Definition at line 130 of file snippetcompletionmodel.cpp.
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModel.
Definition at line 122 of file snippetcompletionmodel.cpp.
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModel.
Definition at line 148 of file snippetcompletionmodel.cpp.
|
virtual |
Reimplemented from KTextEditor::CodeCompletionModelControllerInterface3.
Definition at line 180 of file snippetcompletionmodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.