Changeset View
Changeset View
Standalone View
Standalone View
effects/cube/cubeslide.cpp
Show All 31 Lines | |||||
32 | namespace KWin | 32 | namespace KWin | ||
33 | { | 33 | { | ||
34 | 34 | | |||
35 | CubeSlideEffect::CubeSlideEffect() | 35 | CubeSlideEffect::CubeSlideEffect() | ||
36 | : windowMoving(false) | 36 | : windowMoving(false) | ||
37 | , desktopChangedWhileMoving(false) | 37 | , desktopChangedWhileMoving(false) | ||
38 | , progressRestriction(0.0f) | 38 | , progressRestriction(0.0f) | ||
39 | { | 39 | { | ||
40 | initConfig<CubeSlideConfig>(); | ||||
40 | connect(effects, SIGNAL(desktopChanged(int,int)), this, SLOT(slotDesktopChanged(int,int))); | 41 | connect(effects, SIGNAL(desktopChanged(int,int)), this, SLOT(slotDesktopChanged(int,int))); | ||
41 | connect(effects, SIGNAL(windowStepUserMovedResized(KWin::EffectWindow*,QRect)), this, SLOT(slotWindowStepUserMovedResized(KWin::EffectWindow*))); | 42 | connect(effects, SIGNAL(windowStepUserMovedResized(KWin::EffectWindow*,QRect)), this, SLOT(slotWindowStepUserMovedResized(KWin::EffectWindow*))); | ||
42 | connect(effects, SIGNAL(windowFinishUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowFinishUserMovedResized(KWin::EffectWindow*))); | 43 | connect(effects, SIGNAL(windowFinishUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowFinishUserMovedResized(KWin::EffectWindow*))); | ||
43 | reconfigure(ReconfigureAll); | 44 | reconfigure(ReconfigureAll); | ||
44 | } | 45 | } | ||
45 | 46 | | |||
46 | CubeSlideEffect::~CubeSlideEffect() | 47 | CubeSlideEffect::~CubeSlideEffect() | ||
47 | { | 48 | { | ||
▲ Show 20 Lines • Show All 561 Lines • Show Last 20 Lines |