summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils')
-rw-r--r--kexi/widget/utils/kexigradientwidget.cpp6
-rw-r--r--kexi/widget/utils/kexirecordnavigator.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/utils/kexigradientwidget.cpp b/kexi/widget/utils/kexigradientwidget.cpp
index 92f53c606..f009bd435 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,
diff --git a/kexi/widget/utils/kexirecordnavigator.cpp b/kexi/widget/utils/kexirecordnavigator.cpp
index 6579fc426..2c4ef8cfb 100644
--- a/kexi/widget/utils/kexirecordnavigator.cpp
+++ b/kexi/widget/utils/kexirecordnavigator.cpp
@@ -192,7 +192,7 @@ void KexiRecordNavigator::setEnabled( bool set )
bool KexiRecordNavigator::eventFilter( TQObject *o, TQEvent *e )
{
- if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(m_navRecordNumber)) {
+ if (o==m_navRecordNumber) {
bool recordEntered = false;
bool ret;
if (e->type()==TQEvent::KeyPress) {