File indexing completed on 2024-03-24 04:02:17
0001 /* 0002 SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef KWINDOWEFFECTS_DUMMY_P_H 0008 #define KWINDOWEFFECTS_DUMMY_P_H 0009 #include "kwindoweffects_p.h" 0010 0011 class KWindowEffectsPrivateDummy : public KWindowEffectsPrivate 0012 { 0013 public: 0014 KWindowEffectsPrivateDummy(); 0015 ~KWindowEffectsPrivateDummy() override; 0016 bool isEffectAvailable(KWindowEffects::Effect effect) override; 0017 void slideWindow(QWindow *window, KWindowEffects::SlideFromLocation location, int offset) override; 0018 void enableBlurBehind(QWindow *window, bool enable = true, const QRegion ®ion = QRegion()) override; 0019 void enableBackgroundContrast(QWindow *window, 0020 bool enable = true, 0021 qreal contrast = 1, 0022 qreal intensity = 1, 0023 qreal saturation = 1, 0024 const QRegion ®ion = QRegion()) override; 0025 }; 0026 0027 #endif