Warning, file /frameworks/kwindowsystem/src/kwindoweffects_dummy.cpp 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: 2009 Marco Martin <notmart@gmail.com> 0003 SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.1-or-later 0006 */ 0007 0008 #include "kwindoweffects_dummy_p.h" 0009 0010 #include <QList> 0011 0012 KWindowEffectsPrivateDummy::KWindowEffectsPrivateDummy() 0013 { 0014 } 0015 0016 KWindowEffectsPrivateDummy::~KWindowEffectsPrivateDummy() 0017 { 0018 } 0019 0020 bool KWindowEffectsPrivateDummy::isEffectAvailable(KWindowEffects::Effect effect) 0021 { 0022 Q_UNUSED(effect) 0023 return false; 0024 } 0025 0026 void KWindowEffectsPrivateDummy::slideWindow(WId id, KWindowEffects::SlideFromLocation location, int offset) 0027 { 0028 Q_UNUSED(id) 0029 Q_UNUSED(location) 0030 Q_UNUSED(offset) 0031 } 0032 0033 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 81) 0034 QList<QSize> KWindowEffectsPrivateDummy::windowSizes(const QList<WId> &ids) 0035 { 0036 QList<QSize> windowSizes; 0037 windowSizes.reserve(ids.size()); 0038 for (int i = 0; i < ids.size(); ++i) { 0039 windowSizes.append(QSize()); 0040 } 0041 return windowSizes; 0042 } 0043 #endif 0044 0045 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 82) 0046 void KWindowEffectsPrivateDummy::presentWindows(WId controller, const QList<WId> &ids) 0047 { 0048 Q_UNUSED(controller) 0049 Q_UNUSED(ids) 0050 } 0051 #endif 0052 0053 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 82) 0054 void KWindowEffectsPrivateDummy::presentWindows(WId controller, int desktop) 0055 { 0056 Q_UNUSED(controller) 0057 Q_UNUSED(desktop) 0058 } 0059 #endif 0060 0061 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 82) 0062 void KWindowEffectsPrivateDummy::highlightWindows(WId controller, const QList<WId> &ids) 0063 { 0064 Q_UNUSED(controller) 0065 Q_UNUSED(ids) 0066 } 0067 #endif 0068 0069 void KWindowEffectsPrivateDummy::enableBlurBehind(WId window, bool enable, const QRegion ®ion) 0070 { 0071 Q_UNUSED(window) 0072 Q_UNUSED(enable) 0073 Q_UNUSED(region) 0074 } 0075 0076 void KWindowEffectsPrivateDummy::enableBackgroundContrast(WId window, bool enable, qreal contrast, qreal intensity, qreal saturation, const QRegion ®ion) 0077 { 0078 Q_UNUSED(window) 0079 Q_UNUSED(enable) 0080 Q_UNUSED(contrast) 0081 Q_UNUSED(intensity) 0082 Q_UNUSED(saturation) 0083 Q_UNUSED(region) 0084 } 0085 0086 #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 67) 0087 void KWindowEffectsPrivateDummy::markAsDashboard(WId window) 0088 { 0089 Q_UNUSED(window) 0090 } 0091 #endif 0092 0093 void KWindowEffectsPrivateDummy::setBackgroundFrost(QWindow *window, QColor color, const QRegion ®ion) 0094 { 0095 Q_UNUSED(window) 0096 Q_UNUSED(color) 0097 Q_UNUSED(region) 0098 }