From 35689df388d457300703c90810e708840ff938c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 6 Jun 2007 17:05:12 +0000 Subject: [PATCH] Still some kompmgr remnants. svn path=/trunk/KDE/kdebase/workspace/; revision=672295 --- options.cpp | 18 ------------------ options.h | 16 ---------------- 2 files changed, 34 deletions(-) diff --git a/options.cpp b/options.cpp index cc1cc121d5..52979e0931 100644 --- a/options.cpp +++ b/options.cpp @@ -180,24 +180,6 @@ unsigned long Options::updateSettings() //translucency settings - TODO config.changeGroup("Translucency"); useTranslucency = config.readEntry("UseTranslucency", false); - translucentActiveWindows = config.readEntry("TranslucentActiveWindows", false); - activeWindowOpacity = uint((config.readEntry("ActiveWindowOpacity", 100)/100.0)*0xFFFFFFFF); - translucentInactiveWindows = config.readEntry("TranslucentInactiveWindows", false); - inactiveWindowOpacity = uint((config.readEntry("InactiveWindowOpacity", 75)/100.0)*0xFFFFFFFF); - translucentMovingWindows = config.readEntry("TranslucentMovingWindows", false); - movingWindowOpacity = uint((config.readEntry("MovingWindowOpacity", 50)/100.0)*0xFFFFFFFF); - translucentDocks = config.readEntry("TranslucentDocks", false); - dockOpacity = uint((config.readEntry("DockOpacity", 80)/100.0)*0xFFFFFFFF); - keepAboveAsActive = config.readEntry("TreatKeepAboveAsActive", true); - //TODO: remove this variable - useTitleMenuSlider = true; - activeWindowShadowSize = config.readEntry("ActiveWindowShadowSize", 200); - inactiveWindowShadowSize = config.readEntry("InactiveWindowShadowSize", 100); - dockShadowSize = config.readEntry("DockShadowSize", 80); - removeShadowsOnMove = config.readEntry("RemoveShadowsOnMove", true); - removeShadowsOnResize = config.readEntry("RemoveShadowsOnResize", true); - onlyDecoTranslucent = config.readEntry("OnlyDecoTranslucent", false); - refreshRate = config.readEntry( "RefreshRate", 0 ); smoothScale = qBound( -1, config.readEntry( "SmoothScale", -1 ), 2 ); diff --git a/options.h b/options.h index c4fac2cd52..c69cadd4f6 100644 --- a/options.h +++ b/options.h @@ -291,22 +291,6 @@ class Options : public KDecorationOptions //translucency settings bool useTranslucency; - bool translucentActiveWindows; - uint activeWindowOpacity; - bool translucentInactiveWindows; - uint inactiveWindowOpacity; - bool translucentMovingWindows; - uint movingWindowOpacity; - bool removeShadowsOnResize; - bool removeShadowsOnMove; - bool translucentDocks; - uint dockOpacity; - bool keepAboveAsActive; - bool useTitleMenuSlider; - uint activeWindowShadowSize; - uint inactiveWindowShadowSize; - uint dockShadowSize; - bool onlyDecoTranslucent; uint refreshRate; int smoothScale; // 0 = no, 1 = yes when transformed,