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 237 of file katecompletionmodel.h.
Constructor & Destructor Documentation
KateCompletionModel::Group::Group | ( | KateCompletionModel * | model | ) | [explicit] |
Definition at line 1629 of file katecompletionmodel.cpp.
Member Function Documentation
void KateCompletionModel::Group::addItem | ( | Item | i, | |
bool | notifyModel = false | |||
) |
Definition at line 1576 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::clear | ( | ) |
Definition at line 1682 of file katecompletionmodel.cpp.
bool KateCompletionModel::Group::orderBefore | ( | Group * | other | ) | const |
Definition at line 1138 of file katecompletionmodel.cpp.
int KateCompletionModel::Group::orderNumber | ( | ) | const |
Definition at line 1111 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::refilter | ( | ) |
Definition at line 1758 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 1608 of file katecompletionmodel.cpp.
void KateCompletionModel::Group::resort | ( | ) |
Definition at line 1645 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 255 of file katecompletionmodel.h.
Member Data Documentation
Definition at line 263 of file katecompletionmodel.h.
Definition at line 269 of file katecompletionmodel.h.
Definition at line 265 of file katecompletionmodel.h.
Definition at line 267 of file katecompletionmodel.h.
Definition at line 262 of file katecompletionmodel.h.
Definition at line 266 of file katecompletionmodel.h.
Definition at line 264 of file katecompletionmodel.h.
Definition at line 264 of file katecompletionmodel.h.
The documentation for this class was generated from the following files: