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; }; /**