From 6a91650fa87f05833d79cdf33f9a478d0e4cc24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 22 Jul 2013 16:09:18 +0200 Subject: [PATCH] Plasma::WindowEffects becomes KWindowEffects We should still aks our own effect system instead of kdelibs... --- tabbox/declarative.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tabbox/declarative.cpp b/tabbox/declarative.cpp index 18e0a21d5a..2917ede7f5 100644 --- a/tabbox/declarative.cpp +++ b/tabbox/declarative.cpp @@ -39,7 +39,7 @@ along with this program. If not, see . #include #include #include -#include +#include #include // KWin #include "thumbnailitem.h" @@ -194,12 +194,12 @@ void DeclarativeView::showEvent(QShowEvent *event) void DeclarativeView::resizeEvent(QResizeEvent *event) { if (tabBox->embedded()) { - Plasma::WindowEffects::enableBlurBehind(winId(), false); + KWindowEffects::enableBlurBehind(winId(), false); } else { const QString maskImagePath = rootObject()->property("maskImagePath").toString(); if (maskImagePath.isEmpty()) { clearMask(); - Plasma::WindowEffects::enableBlurBehind(winId(), false); + KWindowEffects::enableBlurBehind(winId(), false); } else { const double maskWidth = rootObject()->property("maskWidth").toDouble(); const double maskHeight = rootObject()->property("maskHeight").toDouble(); @@ -212,7 +212,7 @@ void DeclarativeView::resizeEvent(QResizeEvent *event) // notice: this covers an issue with plasma detecting the compositing state. see plasmaThemeVariant() if (Workspace::self()->compositing() && effects) { // blur background?! - Plasma::WindowEffects::enableBlurBehind(winId(), static_cast(effects)->provides(Effect::Blur), mask); + KWindowEffects::enableBlurBehind(winId(), static_cast(effects)->provides(Effect::Blur), mask); clearMask(); } else #endif