From 138179d06c8273748de4a743887ac0f5501166b7 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sat, 20 Jun 2009 04:22:39 +0000 Subject: [PATCH] Missed some functions in the decoration API cleanup. svn path=/trunk/KDE/kdebase/workspace/; revision=984121 --- kcmkwin/kwindecoration/preview.cpp | 14 -------------- kcmkwin/kwindecoration/preview.h | 3 --- lib/kcommondecoration.h | 1 - 3 files changed, 18 deletions(-) diff --git a/kcmkwin/kwindecoration/preview.cpp b/kcmkwin/kwindecoration/preview.cpp index 938cb2a154..1e95c6cbea 100644 --- a/kcmkwin/kwindecoration/preview.cpp +++ b/kcmkwin/kwindecoration/preview.cpp @@ -429,25 +429,11 @@ void KDecorationPreviewBridge::grabXServer( bool ) { } -void KDecorationPreviewBridge::repaintShadow() - { - } - bool KDecorationPreviewBridge::compositingActive() const { return false; } -bool KDecorationPreviewBridge::shadowsActive() const - { - return false; - } - -double KDecorationPreviewBridge::opacity() const - { - return 1.0; - } - KDecorationPreviewOptions::KDecorationPreviewOptions() { customBorderSize = BordersCount; // invalid diff --git a/kcmkwin/kwindecoration/preview.h b/kcmkwin/kwindecoration/preview.h index abb695d515..13481dbb32 100644 --- a/kcmkwin/kwindecoration/preview.h +++ b/kcmkwin/kwindecoration/preview.h @@ -113,10 +113,7 @@ class KDecorationPreviewBridge virtual Qt::WFlags initialWFlags() const; virtual void grabXServer( bool grab ); - virtual void repaintShadow(); virtual bool compositingActive() const; - virtual bool shadowsActive() const; - virtual double opacity() const; private: KDecorationPreview* preview; bool active; diff --git a/lib/kcommondecoration.h b/lib/kcommondecoration.h index 509dffa2a9..456af6e13e 100644 --- a/lib/kcommondecoration.h +++ b/lib/kcommondecoration.h @@ -374,7 +374,6 @@ class KWIN_EXPORT KCommonDecorationUnstable KCommonDecorationUnstable(KDecorationBridge* bridge, KDecorationFactory* factory); virtual ~KCommonDecorationUnstable(); bool compositingActive() const; - bool shadowsActive() const; }; /**