diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:22:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 17:59:13 +0900 |
commit | 57951b635ee02df8266476eafb5094a3b3731a8f (patch) | |
tree | 0839a78f743a7b567b285ddcd81a07d4043ea618 /lib/widgets/qcomboview.cpp | |
parent | cb0195be79817650098e150c46e2f459847d639d (diff) | |
download | tdevelop-57951b635ee02df8266476eafb5094a3b3731a8f.tar.gz tdevelop-57951b635ee02df8266476eafb5094a3b3731a8f.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 03e67cae445e4207ff23b64c813fbc62d24ff364)
Diffstat (limited to 'lib/widgets/qcomboview.cpp')
-rw-r--r-- | lib/widgets/qcomboview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp index cb44f32c..9e84f1d4 100644 --- a/lib/widgets/qcomboview.cpp +++ b/lib/widgets/qcomboview.cpp @@ -895,7 +895,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event ) if ( !d->mouseWasInsidePopup ) { // tqWarning("!d->mouseWasInsidePopup"); TQPoint pos = e->pos(); - if ( TQT_TQRECT_OBJECT(d->listView()->rect()).contains( pos ) ) + if ( d->listView()->rect().contains( pos ) ) d->mouseWasInsidePopup = TRUE; // Check if arrow button should toggle if ( d->arrowPressed ) { @@ -935,7 +935,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event ) break; case TQEvent::MouseButtonRelease: - if ( TQT_TQRECT_OBJECT(d->listView()->rect()).contains( e->pos() ) ) { + if ( d->listView()->rect().contains( e->pos() ) ) { TQMouseEvent tmp( TQEvent::MouseButtonDblClick, e->pos(), e->button(), e->state() ) ; // will hide popup @@ -955,7 +955,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event ) break; case TQEvent::MouseButtonDblClick: case TQEvent::MouseButtonPress: - if ( !TQT_TQRECT_OBJECT(d->listView()->rect()).contains( e->pos() ) ) { + if ( !d->listView()->rect().contains( e->pos() ) ) { TQPoint globalPos = d->listView()->mapToGlobal(e->pos()); if ( TQApplication::widgetAt( globalPos, TRUE ) == this ) { d->discardNextMousePress = TRUE; |