summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexigradientwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexigradientwidget.cpp')
-rw-r--r--kexi/widget/utils/kexigradientwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/widget/utils/kexigradientwidget.cpp b/kexi/widget/utils/kexigradientwidget.cpp
index ce92444f..18d34447 100644
--- a/kexi/widget/utils/kexigradientwidget.cpp
+++ b/kexi/widget/utils/kexigradientwidget.cpp
@@ -29,8 +29,8 @@
#include "kexigradientwidget.h"
-KexiGradientWidget::KexiGradientWidget( TQWidget *tqparent, const char *name, WFlags f )
- : TQWidget( tqparent, name, f ), p_displayMode( NoGradient ),
+KexiGradientWidget::KexiGradientWidget( TQWidget *parent, const char *name, WFlags f )
+ : TQWidget( parent, name, f ), p_displayMode( NoGradient ),
p_gradientType( VerticalGradient ),
p_color1( TQt::white ), p_color2( TQt::blue ), p_currentChild( 0 ),
p_opacity( 0.5 ), p_cacheDirty( true )
@@ -179,7 +179,7 @@ void KexiGradientWidget::rebuildCache( void ) {
Get the part of the tempPixmap that is
under the current child-widget.
*/
- if ( TQT_BASE_OBJECT(childWidget->tqparent()) == TQT_BASE_OBJECT(this) ) {
+ if ( TQT_BASE_OBJECT(childWidget->parent()) == TQT_BASE_OBJECT(this) ) {
area = childWidget->tqgeometry();
} else {
area.setTopLeft( childWidget->mapTo( this,
@@ -310,11 +310,11 @@ void KexiGradientWidget::updateChildBackground( TQWidget* childWidget )
return;
/**
- Exclude widgtes that don't have a tqparent.
+ Exclude widgtes that don't have a parent.
This happens when tqchildren are removed
which are in the knownWidgets-list.
*/
- if ( childWidget->tqparent() == 0L )
+ if ( childWidget->parent() == 0L )
return;
/**
@@ -329,7 +329,7 @@ void KexiGradientWidget::updateChildBackground( TQWidget* childWidget )
Get the part of the tempPixmap that is
under the current child-widget.
*/
- if ( TQT_BASE_OBJECT(childWidget->tqparent()) == TQT_BASE_OBJECT(this) ) {
+ if ( TQT_BASE_OBJECT(childWidget->parent()) == TQT_BASE_OBJECT(this) ) {
area = childWidget->tqgeometry();
} else {
area.setTopLeft( childWidget->mapTo( this,