Still some kompmgr remnants.

svn path=/trunk/KDE/kdebase/workspace/; revision=672295
This commit is contained in:
Luboš Luňák 2007-06-06 17:05:12 +00:00
parent 34d9b03aff
commit 35689df388
2 changed files with 0 additions and 34 deletions

View file

@ -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 );

View file

@ -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,