Kate
#include <katecompletionmodel.h>
Public Member Functions | |
Group (KateCompletionModel *model) | |
void | addItem (Item i, bool notifyModel=false) |
void | clear () |
bool | orderBefore (Group *other) const |
int | orderNumber () const |
void | refilter () |
bool | removeItem (const ModelRow &row) |
void | resort () |
int | rowOf (ModelRow item) |
Public Attributes | |
int | attribute |
int | customSortingKey |
QList< Item > | filtered |
bool | isEmpty |
KateCompletionModel * | model |
QList< Item > | prefilter |
QString | scope |
QString | title |
Detailed Description
Definition at line 274 of file katecompletionmodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 1550 of file katecompletionmodel.cpp.
Member Function Documentation
void KateCompletionModel::Group::addItem | ( | Item | i, |
bool | notifyModel = false |
||
) |
Definition at line 1497 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::clear | ( | ) |
Definition at line 1601 of file katecompletionmodel.cpp.
bool KateCompletionModel::Group::orderBefore | ( | Group * | other | ) | const |
Definition at line 1086 of file katecompletionmodel.cpp.
int KateCompletionModel::Group::orderNumber | ( | ) | const |
Definition at line 1059 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::refilter | ( | ) |
Definition at line 1679 of file katecompletionmodel.cpp.
bool KateCompletionModel::Group::removeItem | ( | const ModelRow & | row | ) |
Removes the item specified by row. Returns true if a change was made to rows.
Definition at line 1529 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::resort | ( | ) |
Definition at line 1568 of file katecompletionmodel.cpp.
|
inline |
Returns the row in the this group's filtered list of the given model-row in a source-model -1 if the item is not in the filtered list.
- Todo:
- Implement an efficient way of doing this map, that does not iterate over all items!
Definition at line 292 of file katecompletionmodel.h.
Member Data Documentation
int KateCompletionModel::Group::attribute |
Definition at line 300 of file katecompletionmodel.h.
int KateCompletionModel::Group::customSortingKey |
Definition at line 306 of file katecompletionmodel.h.
QList<Item> KateCompletionModel::Group::filtered |
Definition at line 302 of file katecompletionmodel.h.
bool KateCompletionModel::Group::isEmpty |
Definition at line 304 of file katecompletionmodel.h.
KateCompletionModel* KateCompletionModel::Group::model |
Definition at line 299 of file katecompletionmodel.h.
QList<Item> KateCompletionModel::Group::prefilter |
Definition at line 303 of file katecompletionmodel.h.
QString KateCompletionModel::Group::scope |
Definition at line 301 of file katecompletionmodel.h.
QString KateCompletionModel::Group::title |
Definition at line 301 of file katecompletionmodel.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.