diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:48:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 16:30:54 +0900 |
commit | f5f1b89f8bda3b5d5f57255b04da3a7626154e58 (patch) | |
tree | 0249fbe2d397f8f6c05a2ec7fbe7f5bc8d1beee1 /khexedit | |
parent | 9b8380e617ad740085310208e3be24b42614f661 (diff) | |
download | tdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.tar.gz tdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2c7c646af5349a9a68c2f129fda7af338855ba85)
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 ) |