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,