#include <animationsmodel.h>
|
enum | AdditionalRoles {
NameRole = Qt::UserRole + 1
, DescriptionRole
, AuthorNameRole
, AuthorEmailRole
,
LicenseRole
, VersionRole
, CategoryRole
, ServiceNameRole
,
IconNameRole
, StatusRole
, VideoRole
, WebsiteRole
,
SupportedRole
, ExclusiveRole
, InternalRole
, ConfigurableRole
,
EnabledByDefaultRole
, ConfigModuleRole
, EnabledByDefaultFunctionRole
} |
|
enum class | Status { Disabled = Qt::Unchecked
, EnabledUndeterminded = Qt::PartiallyChecked
, Enabled = Qt::Checked
} |
|
enum class | LoadOptions { None
, KeepDirty
} |
|
Definition at line 17 of file animationsmodel.h.
◆ AnimationsModel()
KWin::AnimationsModel::AnimationsModel |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ animationEnabled()
bool KWin::AnimationsModel::animationEnabled |
( |
| ) |
const |
◆ animationEnabledChanged
void KWin::AnimationsModel::animationEnabledChanged |
( |
| ) |
|
|
signal |
◆ animationIndex()
int KWin::AnimationsModel::animationIndex |
( |
| ) |
const |
◆ animationIndexChanged
void KWin::AnimationsModel::animationIndexChanged |
( |
| ) |
|
|
signal |
◆ currentConfigurable()
bool KWin::AnimationsModel::currentConfigurable |
( |
| ) |
const |
◆ currentConfigurableChanged
void KWin::AnimationsModel::currentConfigurableChanged |
( |
| ) |
|
|
signal |
◆ defaultAnimationEnabled()
bool KWin::AnimationsModel::defaultAnimationEnabled |
( |
| ) |
const |
◆ defaultAnimationEnabledChanged
void KWin::AnimationsModel::defaultAnimationEnabledChanged |
( |
| ) |
|
|
signal |
◆ defaultAnimationIndex()
int KWin::AnimationsModel::defaultAnimationIndex |
( |
| ) |
const |
◆ defaultAnimationIndexChanged
void KWin::AnimationsModel::defaultAnimationIndexChanged |
( |
| ) |
|
|
signal |
◆ defaults()
void KWin::AnimationsModel::defaults |
( |
| ) |
|
◆ isDefaults()
bool KWin::AnimationsModel::isDefaults |
( |
| ) |
const |
◆ load()
void KWin::AnimationsModel::load |
( |
| ) |
|
◆ needsSave()
bool KWin::AnimationsModel::needsSave |
( |
| ) |
const |
◆ save()
void KWin::AnimationsModel::save |
( |
| ) |
|
◆ setAnimationEnabled()
void KWin::AnimationsModel::setAnimationEnabled |
( |
bool | enabled | ) |
|
◆ setAnimationIndex()
void KWin::AnimationsModel::setAnimationIndex |
( |
int | index | ) |
|
◆ shouldStore()
bool KWin::AnimationsModel::shouldStore |
( |
const EffectData & | data | ) |
const |
|
overrideprotectedvirtual |
Returns whether the given effect should be stored in the model.
- Parameters
-
- Returns
true
if the effect should be stored, otherwise false
.
Reimplemented from KWin::EffectsModel.
Definition at line 79 of file animationsmodel.cpp.
◆ animationEnabled
bool KWin::AnimationsModel::animationEnabled |
|
readwrite |
◆ animationIndex
int KWin::AnimationsModel::animationIndex |
|
readwrite |
◆ currentConfigurable
bool KWin::AnimationsModel::currentConfigurable |
|
read |
◆ defaultAnimationEnabled
bool KWin::AnimationsModel::defaultAnimationEnabled |
|
read |
◆ defaultAnimationIndex
int KWin::AnimationsModel::defaultAnimationIndex |
|
read |
The documentation for this class was generated from the following files: