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 275 of file katecompletionmodel.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Definition at line 1548 of file katecompletionmodel.cpp.
Member Function Documentation
Definition at line 1495 of file katecompletionmodel.cpp.
| void KateCompletionModel::Group::clear | ( | ) | 
Definition at line 1596 of file katecompletionmodel.cpp.
Definition at line 1094 of file katecompletionmodel.cpp.
| int KateCompletionModel::Group::orderNumber | ( | ) | const | 
Definition at line 1067 of file katecompletionmodel.cpp.
| void KateCompletionModel::Group::refilter | ( | ) | 
Definition at line 1672 of file katecompletionmodel.cpp.
Removes the item specified by row. Returns true if a change was made to rows.
Definition at line 1527 of file katecompletionmodel.cpp.
| void KateCompletionModel::Group::resort | ( | ) | 
Definition at line 1564 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 293 of file katecompletionmodel.h.
Member Data Documentation
| int KateCompletionModel::Group::attribute | 
Definition at line 301 of file katecompletionmodel.h.
| int KateCompletionModel::Group::customSortingKey | 
Definition at line 307 of file katecompletionmodel.h.
Definition at line 303 of file katecompletionmodel.h.
| bool KateCompletionModel::Group::isEmpty | 
Definition at line 305 of file katecompletionmodel.h.
| KateCompletionModel* KateCompletionModel::Group::model | 
Definition at line 300 of file katecompletionmodel.h.
Definition at line 304 of file katecompletionmodel.h.
| QString KateCompletionModel::Group::scope | 
Definition at line 302 of file katecompletionmodel.h.
| QString KateCompletionModel::Group::title | 
Definition at line 302 of file katecompletionmodel.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference