Changeset View
Changeset View
Standalone View
Standalone View
effects.h
Show First 20 Lines • Show All 256 Lines • ▼ Show 20 Line(s) | 73 | public: | |||
---|---|---|---|---|---|
257 | void highlightWindows(const QVector<EffectWindow *> &windows); | 257 | void highlightWindows(const QVector<EffectWindow *> &windows); | ||
258 | 258 | | |||
259 | bool isPropertyTypeRegistered(xcb_atom_t atom) const { | 259 | bool isPropertyTypeRegistered(xcb_atom_t atom) const { | ||
260 | return registered_atoms.contains(atom); | 260 | return registered_atoms.contains(atom); | ||
261 | } | 261 | } | ||
262 | 262 | | |||
263 | void windowToDesktops(EffectWindow *w, const QVector<uint> &desktops); | 263 | void windowToDesktops(EffectWindow *w, const QVector<uint> &desktops); | ||
264 | 264 | | |||
265 | /** | ||||
266 | * Finds an effect with the given name. | ||||
267 | * | ||||
268 | * @param name The name of the effect. | ||||
269 | * @returns The effect with the given name @p name, or nullptr if there | ||||
270 | * is no such effect loaded. | ||||
271 | **/ | ||||
272 | Effect *findEffect(const QString &name) const; | ||||
273 | | ||||
265 | public Q_SLOTS: | 274 | public Q_SLOTS: | ||
266 | void slotCurrentTabAboutToChange(EffectWindow* from, EffectWindow* to); | 275 | void slotCurrentTabAboutToChange(EffectWindow* from, EffectWindow* to); | ||
267 | void slotTabAdded(EffectWindow* from, EffectWindow* to); | 276 | void slotTabAdded(EffectWindow* from, EffectWindow* to); | ||
268 | void slotTabRemoved(EffectWindow* c, EffectWindow* newActiveWindow); | 277 | void slotTabRemoved(EffectWindow* c, EffectWindow* newActiveWindow); | ||
269 | 278 | | |||
270 | // slots for D-Bus interface | 279 | // slots for D-Bus interface | ||
271 | Q_SCRIPTABLE void reconfigureEffect(const QString& name); | 280 | Q_SCRIPTABLE void reconfigureEffect(const QString& name); | ||
272 | Q_SCRIPTABLE bool loadEffect(const QString& name); | 281 | Q_SCRIPTABLE bool loadEffect(const QString& name); | ||
▲ Show 20 Lines • Show All 370 Lines • Show Last 20 Lines |