Kate
katecompletionmodel.h
Go to the documentation of this file.
90 virtual QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const;
132 // A maximum depth of <= 0 equals don't filter by inheritance depth (i.e. infinity) and is default
140 ScopeType = 0x1,
141 Scope = 0x2,
142 AccessType = 0x4,
143 ItemType = 0x8
147 BestMatchesProperty = 2*KTextEditor::CodeCompletionModel::LastProperty
217 Item(bool doInitialMatch, KateCompletionModel* model, const HierarchicalModelHandler& handler, ModelRow sourceRow);
317 QSet<Group*> createItems(const HierarchicalModelHandler&, const QModelIndex& i, bool notifyModel = false);
321 Group* createItem(const HierarchicalModelHandler&, const QModelIndex& i, bool notifyModel = false);
329 inline Group* groupOfParent(const QModelIndex& child) const { return static_cast<Group*>(child.internalPointer()); }
367 Group* m_argumentHints; //The argument-hints will be passed on to another model, to be shown in another widget
368 Group* m_bestMatches; //A temporary group used for holding the best matches of all visible items
bool hasIndex(int row, int column, const QModelIndex &parent) const
bool operator<(const KateTextLayout &r, const KTextEditor::Cursor &c)
Definition: katetextlayout.cpp:78
int customSortingKey
Definition: katecompletionmodel.h:306
virtual int rowCount(const QModelIndex &parent) const =0
virtual void rowSelected(const QModelIndex &row)
Notifies underlying models that the item was selected, collapses any previous partially expanded line...
Definition: expandingwidgetmodel.cpp:157
Definition: kateargumenthintmodel.h:30
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
This class has the responsibility for filtering, sorting, and manipulating code completion data provi...
Definition: katecompletionmodel.h:48
virtual void sort(int column, Qt::SortOrder order)
virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags< Qt::MatchFlag > flags) const
const char * name() const
This is the code completion's main widget, and also contains the core interface logic.
Definition: katecompletionwidget.h:55
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Does not request data from index, this only returns local data like highlighting for expanded rows an...
Definition: expandingwidgetmodel.cpp:88
int rowOf(ModelRow item)
Returns the row in the this group's filtered list of the given model-row in a source-model -1 if the ...
Definition: katecompletionmodel.h:292
void * internalPointer() const
Definition: kateview.h:77
virtual bool hasChildren(const QModelIndex &parent) const
virtual int columnCount(const QModelIndex &parent) const =0
virtual Qt::ItemFlags flags(const QModelIndex &index) const
QObject * parent() const
virtual bool indexIsItem(const QModelIndex &index) const =0
Should return true if the given row should be painted like a contained item(as opposed to label-rows ...
Cares about expanding/un-expanding items in a tree-view together with ExpandingDelegate.
Definition: expandingwidgetmodel.h:36
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.