Changeset View
Changeset View
Standalone View
Standalone View
effects/resize/resize.cpp
Show All 34 Lines | |||||
35 | namespace KWin | 35 | namespace KWin | ||
36 | { | 36 | { | ||
37 | 37 | | |||
38 | ResizeEffect::ResizeEffect() | 38 | ResizeEffect::ResizeEffect() | ||
39 | : AnimationEffect() | 39 | : AnimationEffect() | ||
40 | , m_active(false) | 40 | , m_active(false) | ||
41 | , m_resizeWindow(0) | 41 | , m_resizeWindow(0) | ||
42 | { | 42 | { | ||
43 | initConfig<ResizeConfig>(); | ||||
43 | reconfigure(ReconfigureAll); | 44 | reconfigure(ReconfigureAll); | ||
44 | connect(effects, SIGNAL(windowStartUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowStartUserMovedResized(KWin::EffectWindow*))); | 45 | connect(effects, SIGNAL(windowStartUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowStartUserMovedResized(KWin::EffectWindow*))); | ||
45 | connect(effects, SIGNAL(windowStepUserMovedResized(KWin::EffectWindow*,QRect)), this, SLOT(slotWindowStepUserMovedResized(KWin::EffectWindow*,QRect))); | 46 | connect(effects, SIGNAL(windowStepUserMovedResized(KWin::EffectWindow*,QRect)), this, SLOT(slotWindowStepUserMovedResized(KWin::EffectWindow*,QRect))); | ||
46 | connect(effects, SIGNAL(windowFinishUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowFinishUserMovedResized(KWin::EffectWindow*))); | 47 | connect(effects, SIGNAL(windowFinishUserMovedResized(KWin::EffectWindow*)), this, SLOT(slotWindowFinishUserMovedResized(KWin::EffectWindow*))); | ||
47 | } | 48 | } | ||
48 | 49 | | |||
49 | ResizeEffect::~ResizeEffect() | 50 | ResizeEffect::~ResizeEffect() | ||
50 | { | 51 | { | ||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |