Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezeframeshadow.cpp
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 69 | { | |||
---|---|---|---|---|---|
70 | if( parent->inherits( "KHTMLView" ) ) return false; | 70 | if( parent->inherits( "KHTMLView" ) ) return false; | ||
71 | parent = parent->parentWidget(); | 71 | parent = parent->parentWidget(); | ||
72 | } | 72 | } | ||
73 | 73 | | |||
74 | // store in set | 74 | // store in set | ||
75 | _registeredWidgets.insert( widget ); | 75 | _registeredWidgets.insert( widget ); | ||
76 | 76 | | |||
77 | // catch object destruction | 77 | // catch object destruction | ||
78 | connect( widget, SIGNAL(destroyed(QObject*)), SLOT(widgetDestroyed(QObject*)) ); | 78 | connect( widget, &QObject::destroyed, this, &FrameShadowFactory::widgetDestroyed ); | ||
79 | 79 | | |||
80 | // install shadow | 80 | // install shadow | ||
81 | installShadows( widget, helper ); | 81 | installShadows( widget, helper ); | ||
82 | 82 | | |||
83 | return true; | 83 | return true; | ||
84 | 84 | | |||
85 | } | 85 | } | ||
86 | 86 | | |||
▲ Show 20 Lines • Show All 269 Lines • Show Last 20 Lines |