kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDB::Repository::AbstractQueryResultModel Class Referenceabstract
Inheritance diagram for kDB::Repository::AbstractQueryResultModel:
Collaboration diagram for kDB::Repository::AbstractQueryResultModel:

Classes

struct  Private
 

Signals

void roleNamesChanged ()
 

Public Member Functions

 AbstractQueryResultModel (QObject *parent=0)
 

Protected Member Functions

Q_INVOKABLE int roleIndex (const QString &_role) const
 
virtual QStringList roleNames_ () const =0
 

Properties

QStringList roleNames
 

Member Function Documentation

◆ roleIndex()

int AbstractQueryResultModel::roleIndex ( const QString & _role) const
protected
Returns
the index of the role for _role, the return value is not defined for invalid roles. The index can be used with the data function.

The documentation for this class was generated from the following files: