Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezemdiwindowshadow.cpp
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Line(s) | 145 | { | |||
---|---|---|---|---|---|
146 | installShadow( widget ); | 146 | installShadow( widget ); | ||
147 | updateShadowGeometry( widget ); | 147 | updateShadowGeometry( widget ); | ||
148 | updateShadowZOrder( widget ); | 148 | updateShadowZOrder( widget ); | ||
149 | } | 149 | } | ||
150 | 150 | | |||
151 | widget->installEventFilter( this ); | 151 | widget->installEventFilter( this ); | ||
152 | 152 | | |||
153 | // catch object destruction | 153 | // catch object destruction | ||
154 | connect( widget, SIGNAL(destroyed(QObject*)), SLOT(widgetDestroyed(QObject*)) ); | 154 | connect( widget, &QObject::destroyed, this, &MdiWindowShadowFactory::widgetDestroyed ); | ||
155 | 155 | | |||
156 | return true; | 156 | return true; | ||
157 | 157 | | |||
158 | } | 158 | } | ||
159 | 159 | | |||
160 | //____________________________________________________________________________________ | 160 | //____________________________________________________________________________________ | ||
161 | void MdiWindowShadowFactory::unregisterWidget( QWidget* widget ) | 161 | void MdiWindowShadowFactory::unregisterWidget( QWidget* widget ) | ||
162 | { | 162 | { | ||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |