summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexigradientwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/widget/utils/kexigradientwidget.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ce92444ff..18d34447c 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,