Changeset View
Changeset View
Standalone View
Standalone View
effects/wobblywindows/wobblywindows.cpp
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 128 | static const ParameterSet set_4 = { | |||
---|---|---|---|---|---|
141 | false, | 141 | false, | ||
142 | false | 142 | false | ||
143 | }; | 143 | }; | ||
144 | 144 | | |||
145 | static const ParameterSet pset[5] = { set_0, set_1, set_2, set_3, set_4 }; | 145 | static const ParameterSet pset[5] = { set_0, set_1, set_2, set_3, set_4 }; | ||
146 | 146 | | |||
147 | WobblyWindowsEffect::WobblyWindowsEffect() | 147 | WobblyWindowsEffect::WobblyWindowsEffect() | ||
148 | { | 148 | { | ||
149 | initConfig<WobblyWindowsConfig>(); | ||||
149 | reconfigure(ReconfigureAll); | 150 | reconfigure(ReconfigureAll); | ||
150 | connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), this, SLOT(slotWindowAdded(KWin::EffectWindow*))); | 151 | connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), this, SLOT(slotWindowAdded(KWin::EffectWindow*))); | ||
151 | connect(effects, SIGNAL(windowClosed(KWin::EffectWindow*)), this, SLOT(slotWindowClosed(KWin::EffectWindow*))); | 152 | connect(effects, SIGNAL(windowClosed(KWin::EffectWindow*)), this, SLOT(slotWindowClosed(KWin::EffectWindow*))); | ||
152 | connect(effects, SIGNAL(windowStartUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowStartUserMovedResized(KWin::EffectWindow*))); | 153 | connect(effects, SIGNAL(windowStartUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowStartUserMovedResized(KWin::EffectWindow*))); | ||
153 | connect(effects, SIGNAL(windowStepUserMovedResized(KWin::EffectWindow*,QRect)), this, SLOT(slotWindowStepUserMovedResized(KWin::EffectWindow*,QRect))); | 154 | connect(effects, SIGNAL(windowStepUserMovedResized(KWin::EffectWindow*,QRect)), this, SLOT(slotWindowStepUserMovedResized(KWin::EffectWindow*,QRect))); | ||
154 | connect(effects, SIGNAL(windowFinishUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowFinishUserMovedResized(KWin::EffectWindow*))); | 155 | connect(effects, SIGNAL(windowFinishUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowFinishUserMovedResized(KWin::EffectWindow*))); | ||
155 | connect(effects, SIGNAL(windowMaximizedStateChanged(KWin::EffectWindow*,bool,bool)), this, SLOT(slotWindowMaximizeStateChanged(KWin::EffectWindow*,bool,bool))); | 156 | connect(effects, SIGNAL(windowMaximizedStateChanged(KWin::EffectWindow*,bool,bool)), this, SLOT(slotWindowMaximizeStateChanged(KWin::EffectWindow*,bool,bool))); | ||
156 | 157 | | |||
▲ Show 20 Lines • Show All 1080 Lines • Show Last 20 Lines |