Kate
KateArgumentHintModel Class Reference
#include <kateargumenthintmodel.h>

Public Slots | |
void | parentModelReset () |
Signals | |
void | contentStateChanged (bool hasContent) |
Public Member Functions | |
void | buildRows () |
void | clear () |
virtual int | columnCount (const QModelIndex &) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
void | emitDataChanged (const QModelIndex &start, const QModelIndex &end) |
virtual bool | indexIsItem (const QModelIndex &index) const |
KateArgumentHintModel (KateCompletionWidget *parent) | |
QModelIndex | mapToSource (const QModelIndex &proxyIndex) const |
virtual int | rowCount (const QModelIndex &parent) const |
virtual QTreeView * | treeView () const |
Protected Member Functions | |
virtual int | contextMatchQuality (const QModelIndex &row) const |
Detailed Description
Definition at line 28 of file kateargumenthintmodel.h.
Constructor & Destructor Documentation
KateArgumentHintModel::KateArgumentHintModel | ( | KateCompletionWidget * | parent | ) |
Definition at line 83 of file kateargumenthintmodel.cpp.
Member Function Documentation
void KateArgumentHintModel::buildRows | ( | ) |
Definition at line 60 of file kateargumenthintmodel.cpp.
void KateArgumentHintModel::clear | ( | ) |
Definition at line 32 of file kateargumenthintmodel.cpp.
int KateArgumentHintModel::columnCount | ( | const QModelIndex & | ) | const [virtual] |
Definition at line 231 of file kateargumenthintmodel.cpp.
void KateArgumentHintModel::contentStateChanged | ( | bool | hasContent | ) | [signal] |
int KateArgumentHintModel::contextMatchQuality | ( | const QModelIndex & | index | ) | const [protected, virtual] |
- Returns:
- the context-match quality from 0 to 10 if it could be determined, else -1
Implements ExpandingWidgetModel.
Definition at line 255 of file kateargumenthintmodel.cpp.
QVariant KateArgumentHintModel::data | ( | const QModelIndex & | index, | |
int | role = Qt::DisplayRole | |||
) | const [virtual] |
Does not request data from index, this only returns local data like highlighting for expanded rows and similar.
Reimplemented from ExpandingWidgetModel.
Definition at line 88 of file kateargumenthintmodel.cpp.
void KateArgumentHintModel::emitDataChanged | ( | const QModelIndex & | start, | |
const QModelIndex & | end | |||
) |
Definition at line 247 of file kateargumenthintmodel.cpp.
bool KateArgumentHintModel::indexIsItem | ( | const QModelIndex & | index | ) | const [virtual] |
Should return true if the given row should be painted like a contained item(as opposed to label-rows etc.).
Implements ExpandingWidgetModel.
Definition at line 251 of file kateargumenthintmodel.cpp.
QModelIndex KateArgumentHintModel::mapToSource | ( | const QModelIndex & | proxyIndex | ) | const |
Definition at line 37 of file kateargumenthintmodel.cpp.
void KateArgumentHintModel::parentModelReset | ( | ) | [slot] |
Definition at line 55 of file kateargumenthintmodel.cpp.
int KateArgumentHintModel::rowCount | ( | const QModelIndex & | parent | ) | const [virtual] |
Definition at line 224 of file kateargumenthintmodel.cpp.
QTreeView * KateArgumentHintModel::treeView | ( | ) | const [virtual] |
The documentation for this class was generated from the following files: