#include <rulesmodel.h>
|
enum | RulesRole {
NameRole = Qt::DisplayRole
, DescriptionRole = Qt::ToolTipRole
, IconRole = Qt::DecorationRole
, IconNameRole = Qt::UserRole + 1
,
KeyRole
, SectionRole
, EnabledRole
, SelectableRole
,
ValueRole
, TypeRole
, PolicyRole
, PolicyModelRole
,
OptionsModelRole
, SuggestedValueRole
} |
|
Definition at line 25 of file rulesmodel.h.
◆ RulesRole
Enumerator |
---|
NameRole | |
DescriptionRole | |
IconRole | |
IconNameRole | |
KeyRole | |
SectionRole | |
EnabledRole | |
SelectableRole | |
ValueRole | |
TypeRole | |
PolicyRole | |
PolicyModelRole | |
OptionsModelRole | |
SuggestedValueRole | |
Definition at line 33 of file rulesmodel.h.
◆ RulesModel()
KWin::RulesModel::RulesModel |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ ~RulesModel()
KWin::RulesModel::~RulesModel |
( |
| ) |
|
◆ data()
QVariant KWin::RulesModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ description()
QString KWin::RulesModel::description |
( |
| ) |
const |
◆ descriptionChanged
void KWin::RulesModel::descriptionChanged |
( |
| ) |
|
|
signal |
◆ detectWindowProperties()
void KWin::RulesModel::detectWindowProperties |
( |
int | miliseconds | ) |
|
◆ hasRule()
bool KWin::RulesModel::hasRule |
( |
const QString & | key | ) |
const |
◆ indexOf()
QModelIndex KWin::RulesModel::indexOf |
( |
const QString & | key | ) |
const |
◆ roleNames()
QHash< int, QByteArray > KWin::RulesModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
int KWin::RulesModel::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ ruleItem()
RuleItem * KWin::RulesModel::ruleItem |
( |
const QString & | key | ) |
const |
◆ setData()
bool KWin::RulesModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role ) |
|
override |
◆ setDescription()
void KWin::RulesModel::setDescription |
( |
const QString & | description | ) |
|
◆ setSettings()
void KWin::RulesModel::setSettings |
( |
RuleSettings * | settings | ) |
|
◆ setSuggestedProperties()
void KWin::RulesModel::setSuggestedProperties |
( |
const QVariantMap & | info | ) |
|
◆ settings()
RuleSettings * KWin::RulesModel::settings |
( |
| ) |
const |
◆ showErrorMessage
void KWin::RulesModel::showErrorMessage |
( |
const QString & | title, |
|
|
const QString & | message ) |
|
signal |
◆ showSuggestions
void KWin::RulesModel::showSuggestions |
( |
| ) |
|
|
signal |
◆ virtualDesktopsUpdated
void KWin::RulesModel::virtualDesktopsUpdated |
( |
| ) |
|
|
signal |
◆ warningMessages()
QStringList KWin::RulesModel::warningMessages |
( |
| ) |
const |
◆ warningMessagesChanged
void KWin::RulesModel::warningMessagesChanged |
( |
| ) |
|
|
signal |
◆ description
QString KWin::RulesModel::description |
|
readwrite |
◆ warningMessages
QStringList KWin::RulesModel::warningMessages |
|
read |
The documentation for this class was generated from the following files: