#include <rulebookmodel.h>
|
| | RuleBookModel (QObject *parent=nullptr) |
| |
| | ~RuleBookModel () |
| |
| QHash< int, QByteArray > | roleNames () const override |
| |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
| |
| bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) override |
| |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) override |
| |
| bool | moveRows (const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) override |
| |
| QString | descriptionAt (int row) const |
| |
| void | setDescriptionAt (int row, const QString &description) |
| |
| RuleSettings * | ruleSettingsAt (int row) const |
| |
| void | setRuleSettingsAt (int row, const RuleSettings &settings) |
| |
| void | load () |
| |
| void | save () |
| |
| bool | isSaveNeeded () |
| |
|
| static void | copySettingsTo (RuleSettings *dest, const RuleSettings &source) |
| |
Definition at line 17 of file rulebookmodel.h.
◆ anonymous enum
◆ RuleBookModel()
| KWin::RuleBookModel::RuleBookModel |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ ~RuleBookModel()
| KWin::RuleBookModel::~RuleBookModel |
( |
| ) |
|
◆ copySettingsTo()
| void KWin::RuleBookModel::copySettingsTo |
( |
RuleSettings * | dest, |
|
|
const RuleSettings & | source ) |
|
static |
◆ data()
| QVariant KWin::RuleBookModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ descriptionAt()
| QString KWin::RuleBookModel::descriptionAt |
( |
int | row | ) |
const |
◆ insertRows()
| bool KWin::RuleBookModel::insertRows |
( |
int | row, |
|
|
int | count, |
|
|
const QModelIndex & | parent = QModelIndex() ) |
|
override |
◆ isSaveNeeded()
| bool KWin::RuleBookModel::isSaveNeeded |
( |
| ) |
|
◆ load()
| void KWin::RuleBookModel::load |
( |
| ) |
|
◆ moveRows()
| bool KWin::RuleBookModel::moveRows |
( |
const QModelIndex & | sourceParent, |
|
|
int | sourceRow, |
|
|
int | count, |
|
|
const QModelIndex & | destinationParent, |
|
|
int | destinationChild ) |
|
override |
◆ removeRows()
| bool KWin::RuleBookModel::removeRows |
( |
int | row, |
|
|
int | count, |
|
|
const QModelIndex & | parent = QModelIndex() ) |
|
override |
◆ roleNames()
| QHash< int, QByteArray > KWin::RuleBookModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
| int KWin::RuleBookModel::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ ruleSettingsAt()
| RuleSettings * KWin::RuleBookModel::ruleSettingsAt |
( |
int | row | ) |
const |
◆ save()
| void KWin::RuleBookModel::save |
( |
| ) |
|
◆ setData()
| bool KWin::RuleBookModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role ) |
|
override |
◆ setDescriptionAt()
| void KWin::RuleBookModel::setDescriptionAt |
( |
int | row, |
|
|
const QString & | description ) |
◆ setRuleSettingsAt()
| void KWin::RuleBookModel::setRuleSettingsAt |
( |
int | row, |
|
|
const RuleSettings & | settings ) |
The documentation for this class was generated from the following files: