diff options
Diffstat (limited to 'kexi/widget/utils/kexigradientwidget.cpp')
-rw-r--r-- | kexi/widget/utils/kexigradientwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/widget/utils/kexigradientwidget.cpp b/kexi/widget/utils/kexigradientwidget.cpp index 2a1a3ba3..ce92444f 100644 --- a/kexi/widget/utils/kexigradientwidget.cpp +++ b/kexi/widget/utils/kexigradientwidget.cpp @@ -98,7 +98,7 @@ void KexiGradientWidget::rebuildCache( void ) { for ( WidgetList::Iterator it = childWidgetList.begin(); it != childWidgetList.end(); ++it ) { - if ( p_customBackgroundWidgets.tqcontains( ( *it ) ) == false ) { + if ( p_customBackgroundWidgets.contains( ( *it ) ) == false ) { ( *it )->unsetPalette(); } } @@ -170,7 +170,7 @@ void KexiGradientWidget::rebuildCache( void ) { /** Exclude widgets with a custom palette. */ - if ( p_customBackgroundWidgets.tqcontains( childWidget ) ) { + if ( p_customBackgroundWidgets.contains( childWidget ) ) { continue; } @@ -255,7 +255,7 @@ bool KexiGradientWidget::eventFilter( TQObject* object, TQEvent* event ) { In this case, it has to be added to the customBackground-list. */ if ( p_currentChild == 0L && child != 0L ) { - if ( p_customBackgroundWidgets.tqcontains( child ) == false ) { + if ( p_customBackgroundWidgets.contains( child ) == false ) { p_customBackgroundWidgets.append( child ); return false; } @@ -269,7 +269,7 @@ bool KexiGradientWidget::eventFilter( TQObject* object, TQEvent* event ) { Add the new child to the list of widgets, we don't set the background ourselves if it isn't in the list. */ - if ( p_customBackgroundWidgets.tqcontains( child ) == false ) { + if ( p_customBackgroundWidgets.contains( child ) == false ) { if ( child->paletteBackgroundPixmap() != 0L ) { p_customBackgroundWidgets.append( child ); } @@ -291,7 +291,7 @@ bool KexiGradientWidget::eventFilter( TQObject* object, TQEvent* event ) { } if ( event->type() == TQEvent::Move ) { - if ( p_customBackgroundWidgets.tqcontains( child ) == false ) { + if ( p_customBackgroundWidgets.contains( child ) == false ) { updateChildBackground( child ); } } @@ -320,7 +320,7 @@ void KexiGradientWidget::updateChildBackground( TQWidget* childWidget ) /** Exclude widgets with a custom palette. */ - if ( p_customBackgroundWidgets.tqcontains( childWidget ) ) { + if ( p_customBackgroundWidgets.contains( childWidget ) ) { return; } |