Changeset View
Changeset View
Standalone View
Standalone View
kstyle/animations/breezeanimations.cpp
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Line(s) | 183 | else if( QAbstractScrollArea* scrollArea = qobject_cast<QAbstractScrollArea*>( widget ) ) { | |||
---|---|---|---|---|---|
186 | { _inputWidgetEngine->registerWidget( widget, AnimationHover|AnimationFocus ); } | 186 | { _inputWidgetEngine->registerWidget( widget, AnimationHover|AnimationFocus ); } | ||
187 | 187 | | |||
188 | } | 188 | } | ||
189 | 189 | | |||
190 | // stacked widgets | 190 | // stacked widgets | ||
191 | if( QStackedWidget* stack = qobject_cast<QStackedWidget*>( widget ) ) | 191 | if( QStackedWidget* stack = qobject_cast<QStackedWidget*>( widget ) ) | ||
192 | { _stackedWidgetEngine->registerWidget( stack ); } | 192 | { _stackedWidgetEngine->registerWidget( stack ); } | ||
193 | 193 | | |||
194 | return; | | |||
195 | 194 | | |||
196 | } | 195 | } | ||
197 | 196 | | |||
198 | //____________________________________________________________ | 197 | //____________________________________________________________ | ||
199 | void Animations::unregisterWidget( QWidget* widget ) const | 198 | void Animations::unregisterWidget( QWidget* widget ) const | ||
200 | { | 199 | { | ||
201 | 200 | | |||
202 | if( !widget ) return; | 201 | if( !widget ) return; | ||
Show All 29 Lines |