Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/common/effectmodel.h
Show First 20 Lines • Show All 245 Lines • ▼ Show 20 Line(s) | 210 | protected: | |||
---|---|---|---|---|---|
246 | * @returns @c true if the effect should be stored, otherwise @c false. | 246 | * @returns @c true if the effect should be stored, otherwise @c false. | ||
247 | **/ | 247 | **/ | ||
248 | virtual bool shouldStore(const EffectData &data) const; | 248 | virtual bool shouldStore(const EffectData &data) const; | ||
249 | 249 | | |||
250 | private: | 250 | private: | ||
251 | void loadBuiltInEffects(const KConfigGroup &kwinConfig, const KPluginInfo::List &configs); | 251 | void loadBuiltInEffects(const KConfigGroup &kwinConfig, const KPluginInfo::List &configs); | ||
252 | void loadJavascriptEffects(const KConfigGroup &kwinConfig); | 252 | void loadJavascriptEffects(const KConfigGroup &kwinConfig); | ||
253 | void loadPluginEffects(const KConfigGroup &kwinConfig, const KPluginInfo::List &configs); | 253 | void loadPluginEffects(const KConfigGroup &kwinConfig, const KPluginInfo::List &configs); | ||
254 | void syncEffectsToKWin(); | | |||
255 | 254 | | |||
256 | QVector<EffectData> m_effectsList; | 255 | QVector<EffectData> m_effectsList; | ||
257 | QVector<EffectData> m_effectsChanged; | | |||
258 | 256 | | |||
259 | Q_DISABLE_COPY(EffectModel) | 257 | Q_DISABLE_COPY(EffectModel) | ||
260 | }; | 258 | }; | ||
261 | 259 | | |||
262 | } | 260 | } |