SettingsFilterProxyModel Class Reference

Public Slots

void updateScope (const std::string &key, int scope)
 

Public Member Functions

 SettingsFilterProxyModel (QObject *parent=0)
 
int scopeFilter ()
 
void setScopeFilter (int scope)
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 

Protected Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
 
bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 

Constructor & Destructor Documentation

◆ SettingsFilterProxyModel()

SettingsFilterProxyModel::SettingsFilterProxyModel ( QObject *  parent = 0)

Member Function Documentation

◆ data()

QVariant SettingsFilterProxyModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
override

◆ filterAcceptsRow()

bool SettingsFilterProxyModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
overrideprotected

◆ lessThan()

bool SettingsFilterProxyModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const
overrideprotected

◆ scopeFilter()

int SettingsFilterProxyModel::scopeFilter ( )
inline

◆ setScopeFilter()

void SettingsFilterProxyModel::setScopeFilter ( int  scope)
inline

◆ updateScope

void SettingsFilterProxyModel::updateScope ( const std::string &  key,
int  scope 
)
inlineslot

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