diff options
Diffstat (limited to 'khexedit')
-rw-r--r-- | khexedit/bitswapwidget.cpp | 6 | ||||
-rw-r--r-- | khexedit/lib/khexedit.cpp | 2 | ||||
-rw-r--r-- | khexedit/searchbar.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/bitswapwidget.cpp b/khexedit/bitswapwidget.cpp index e281d2b..bbea65a 100644 --- a/khexedit/bitswapwidget.cpp +++ b/khexedit/bitswapwidget.cpp @@ -206,7 +206,7 @@ void CByteWidget::stepCell( const TQObject *obj, bool next ) { for( uint i=0; i<8; i++ ) { - if( TQT_BASE_OBJECT_CONST(obj) == TQT_BASE_OBJECT_CONST(mDigit[i]) ) + if( obj == mDigit[i] ) { if( next == true ) { @@ -228,7 +228,7 @@ void CByteWidget::valueChanged( const TQObject *obj, uint val, bool after ) { for( uint i=0; i<8; i++ ) { - if( TQT_BASE_OBJECT_CONST(obj) == TQT_BASE_OBJECT_CONST(mDigit[i]) ) + if( obj == mDigit[i] ) { uint tmp = 7-mDigit[i]->value(); mDigit[tmp]->setValue( mDigit[i]->value(), false ); @@ -282,7 +282,7 @@ void CByteWidget::setBuddy( const TQObject *obj ) { for( uint i=0; i<8; i++ ) { - if( TQT_BASE_OBJECT_CONST(obj) == TQT_BASE_OBJECT_CONST(mDigit[i]) ) + if( obj == mDigit[i] ) { uint val = mDigit[i]->value(); if( val < 8 ) diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp index 4873fa3..dd34e1e 100644 --- a/khexedit/lib/khexedit.cpp +++ b/khexedit/lib/khexedit.cpp @@ -1178,7 +1178,7 @@ void KHexEdit::showEvent( TQShowEvent *e ) bool KHexEdit::eventFilter( TQObject *O, TQEvent *E ) { - if( TQT_BASE_OBJECT(O) == TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(O) == TQT_BASE_OBJECT(viewport()) ) + if( O == this || O == viewport() ) { if( E->type() == TQEvent::FocusIn ) { diff --git a/khexedit/searchbar.cpp b/khexedit/searchbar.cpp index 02fbb4e..aeb4b77 100644 --- a/khexedit/searchbar.cpp +++ b/khexedit/searchbar.cpp @@ -110,7 +110,7 @@ CSearchBar::CSearchBar( TQWidget *parent, const char *name, WFlags f ) // bool CSearchBar::eventFilter( TQObject *o, TQEvent *e ) { - if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(mInputEdit) && e->type() == TQEvent::KeyPress ) + if( o == mInputEdit && e->type() == TQEvent::KeyPress ) { TQKeyEvent *ke = (TQKeyEvent*)e; if( ke->key() == Key_Return ) |