Warning, file /frameworks/kwindowsystem/src/kwindoweffects_p.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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_P_H 0008 #define KWINDOWEFFECTS_P_H 0009 #include "kwindoweffects.h" 0010 0011 class KWINDOWSYSTEM_EXPORT KWindowEffectsPrivate 0012 { 0013 public: 0014 virtual ~KWindowEffectsPrivate(); 0015 virtual bool isEffectAvailable(KWindowEffects::Effect effect) = 0; 0016 virtual void slideWindow(WId id, KWindowEffects::SlideFromLocation location, int offset) = 0; 0017 virtual void enableBlurBehind(WId window, bool enable = true, const QRegion ®ion = QRegion()) = 0; 0018 virtual void enableBackgroundContrast(WId window, 0019 bool enable = true, 0020 qreal contrast = 1, 0021 qreal intensity = 1, 0022 qreal saturation = 1, 0023 const QRegion ®ion = QRegion()) = 0; 0024 0025 protected: 0026 KWindowEffectsPrivate(); 0027 }; 0028 0029 class KWINDOWSYSTEM_EXPORT KWindowEffectsPrivateV2 : public KWindowEffectsPrivate 0030 { 0031 public: 0032 virtual void setBackgroundFrost(QWindow *window, QColor color, const QRegion ®ion = QRegion()) = 0; 0033 0034 protected: 0035 KWindowEffectsPrivateV2(); 0036 ~KWindowEffectsPrivateV2() override; 0037 }; 0038 0039 #endif