Kate
KateCompletionModel::Group Class Reference
#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 272 of file katecompletionmodel.h.
Constructor & Destructor Documentation
| KateCompletionModel::Group::Group | ( | KateCompletionModel * | model | ) | [explicit] |
Definition at line 1542 of file katecompletionmodel.cpp.
Member Function Documentation
| void KateCompletionModel::Group::addItem | ( | Item | i, |
| bool | notifyModel = false |
||
| ) |
Definition at line 1489 of file katecompletionmodel.cpp.
| void KateCompletionModel::Group::clear | ( | ) |
Definition at line 1595 of file katecompletionmodel.cpp.
Definition at line 1091 of file katecompletionmodel.cpp.
| int KateCompletionModel::Group::orderNumber | ( | ) | const |
Definition at line 1064 of file katecompletionmodel.cpp.
| void KateCompletionModel::Group::refilter | ( | ) |
Definition at line 1671 of file katecompletionmodel.cpp.
Removes the item specified by row. Returns true if a change was made to rows.
Definition at line 1521 of file katecompletionmodel.cpp.
| void KateCompletionModel::Group::resort | ( | ) |
Definition at line 1558 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 290 of file katecompletionmodel.h.
Member Data Documentation
Definition at line 298 of file katecompletionmodel.h.
Definition at line 304 of file katecompletionmodel.h.
Definition at line 300 of file katecompletionmodel.h.
Definition at line 302 of file katecompletionmodel.h.
Definition at line 297 of file katecompletionmodel.h.
Definition at line 301 of file katecompletionmodel.h.
Definition at line 299 of file katecompletionmodel.h.
Definition at line 299 of file katecompletionmodel.h.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference