diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 20:22:59 +0900 |
commit | a7ea84c97639f635d798348432f355e3ac496a1d (patch) | |
tree | 34917a6af147ff19cc1f059ef72db53a196d4b61 /kexi/widget/utils/kexigradientwidget.cpp | |
parent | ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (diff) | |
download | koffice-a7ea84c97639f635d798348432f355e3ac496a1d.tar.gz koffice-a7ea84c97639f635d798348432f355e3ac496a1d.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/widget/utils/kexigradientwidget.cpp')
-rw-r--r-- | kexi/widget/utils/kexigradientwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/utils/kexigradientwidget.cpp b/kexi/widget/utils/kexigradientwidget.cpp index 92f53c60..f009bd43 100644 --- a/kexi/widget/utils/kexigradientwidget.cpp +++ b/kexi/widget/utils/kexigradientwidget.cpp @@ -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->parent()) == TQT_BASE_OBJECT(this) ) { + if ( childWidget->parent() == this ) { area = childWidget->geometry(); } else { area.setTopLeft( childWidget->mapTo( this, @@ -222,7 +222,7 @@ bool KexiGradientWidget::eventFilter( TQObject* object, TQEvent* event ) { /** Manage list of child-widgets. */ - if ( TQT_BASE_OBJECT(object) == TQT_BASE_OBJECT(this) ) { + if ( object == this ) { if ( event->type() == TQEvent::ChildInserted ) { child = dynamic_cast<TQWidget*>( dynamic_cast<TQChildEvent*>( event )->child() ); if ( isValidChildWidget( TQT_TQOBJECT(child) ) == false ) { @@ -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->parent()) == TQT_BASE_OBJECT(this) ) { + if ( childWidget->parent() == this ) { area = childWidget->geometry(); } else { area.setTopLeft( childWidget->mapTo( this, |