1/*
2 SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef KWINDOWEFFECTS_P_H
8#define KWINDOWEFFECTS_P_H
9#include "kwindoweffects.h"
10
11class KWINDOWSYSTEM_EXPORT KWindowEffectsPrivate
12{
13public:
14 virtual ~KWindowEffectsPrivate();
15 virtual bool isEffectAvailable(KWindowEffects::Effect effect) = 0;
16 virtual void slideWindow(QWindow *window, KWindowEffects::SlideFromLocation location, int offset) = 0;
17 virtual void enableBlurBehind(QWindow *window, bool enable = true, const QRegion &region = QRegion()) = 0;
18 virtual void enableBackgroundContrast(QWindow *window,
19 bool enable = true,
20 qreal contrast = 1,
21 qreal intensity = 1,
22 qreal saturation = 1,
23 const QRegion &region = QRegion()) = 0;
24
25protected:
26 KWindowEffectsPrivate();
27};
28#endif
29

source code of kwindowsystem/src/kwindoweffects_p.h