| 1 | /* |
|---|---|
| 2 | SPDX-FileCopyrightText: 2009 Marco Martin <notmart@gmail.com> |
| 3 | SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 | */ |
| 7 | |
| 8 | #include "kwindoweffects_dummy_p.h" |
| 9 | |
| 10 | #include <QList> |
| 11 | |
| 12 | KWindowEffectsPrivateDummy::KWindowEffectsPrivateDummy() |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | KWindowEffectsPrivateDummy::~KWindowEffectsPrivateDummy() |
| 17 | { |
| 18 | } |
| 19 | |
| 20 | bool KWindowEffectsPrivateDummy::isEffectAvailable(KWindowEffects::Effect effect) |
| 21 | { |
| 22 | Q_UNUSED(effect) |
| 23 | return false; |
| 24 | } |
| 25 | |
| 26 | void KWindowEffectsPrivateDummy::slideWindow(QWindow *window, KWindowEffects::SlideFromLocation location, int offset) |
| 27 | { |
| 28 | Q_UNUSED(window) |
| 29 | Q_UNUSED(location) |
| 30 | Q_UNUSED(offset) |
| 31 | } |
| 32 | |
| 33 | void KWindowEffectsPrivateDummy::enableBlurBehind(QWindow *window, bool enable, const QRegion ®ion) |
| 34 | { |
| 35 | Q_UNUSED(window) |
| 36 | Q_UNUSED(enable) |
| 37 | Q_UNUSED(region) |
| 38 | } |
| 39 | |
| 40 | void KWindowEffectsPrivateDummy::enableBackgroundContrast(QWindow *window, |
| 41 | bool enable, |
| 42 | qreal contrast, |
| 43 | qreal intensity, |
| 44 | qreal saturation, |
| 45 | const QRegion ®ion) |
| 46 | { |
| 47 | Q_UNUSED(window) |
| 48 | Q_UNUSED(enable) |
| 49 | Q_UNUSED(contrast) |
| 50 | Q_UNUSED(intensity) |
| 51 | Q_UNUSED(saturation) |
| 52 | Q_UNUSED(region) |
| 53 | } |
| 54 |
