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 11:25:20 +0900 |
commit | 2c7c646af5349a9a68c2f129fda7af338855ba85 (patch) | |
tree | 36853a1916641351a322dd78de1aaa787c70601c /khexedit | |
parent | 16b9b38e0267f80b68a78d861d111ca182551d5c (diff) | |
download | tdeutils-2c7c646af5349a9a68c2f129fda7af338855ba85.tar.gz tdeutils-2c7c646af5349a9a68c2f129fda7af338855ba85.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 ) |