Kate
KateCompletionModel::Group Class Reference
#include <katecompletionmodel.h>
Public Member Functions | |
void | addItem (Item i, bool notifyModel=false) |
void | clear () |
Group (KateCompletionModel *model) | |
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 256 of file katecompletionmodel.h.
Constructor & Destructor Documentation
KateCompletionModel::Group::Group | ( | KateCompletionModel * | model | ) | [explicit] |
Definition at line 1478 of file katecompletionmodel.cpp.
Member Function Documentation
void KateCompletionModel::Group::addItem | ( | Item | i, | |
bool | notifyModel = false | |||
) |
Definition at line 1425 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::clear | ( | ) |
Definition at line 1531 of file katecompletionmodel.cpp.
Definition at line 1027 of file katecompletionmodel.cpp.
int KateCompletionModel::Group::orderNumber | ( | ) | const |
Definition at line 1000 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::refilter | ( | ) |
Definition at line 1607 of file katecompletionmodel.cpp.
Removes the item specified by row. Returns true if a change was made to rows.
Definition at line 1457 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::resort | ( | ) |
Definition at line 1494 of file katecompletionmodel.cpp.
int KateCompletionModel::Group::rowOf | ( | ModelRow | item | ) | [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 274 of file katecompletionmodel.h.
Member Data Documentation
Definition at line 282 of file katecompletionmodel.h.
Definition at line 288 of file katecompletionmodel.h.
Definition at line 284 of file katecompletionmodel.h.
Definition at line 286 of file katecompletionmodel.h.
Definition at line 281 of file katecompletionmodel.h.
Definition at line 285 of file katecompletionmodel.h.
Definition at line 283 of file katecompletionmodel.h.
Definition at line 283 of file katecompletionmodel.h.
The documentation for this class was generated from the following files: