diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:13:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 17:41:30 +0900 |
commit | c49086f688a52b2b466951b228b85af92ae64cc7 (patch) | |
tree | 94c414976f769b3e9cb68dfde12ce5ea4c645d0c | |
parent | cadbbff2cd3eb70966fd7702df88512970602508 (diff) | |
download | kvirc-c49086f688a52b2b466951b228b85af92ae64cc7.tar.gz kvirc-c49086f688a52b2b466951b228b85af92ae64cc7.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0130e6d75affbd5fb76eb3fde0f5a7a0e986c830)
-rw-r--r-- | src/kvirc/ui/kvi_topicw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvirc/ui/kvi_topicw.cpp b/src/kvirc/ui/kvi_topicw.cpp index ec48aa39..84a9ca58 100644 --- a/src/kvirc/ui/kvi_topicw.cpp +++ b/src/kvirc/ui/kvi_topicw.cpp @@ -643,13 +643,13 @@ bool KviTopicWidget::eventFilter(TQObject *object,TQEvent *e) { switch( e->type() ) { case TQEvent::MouseButtonPress: - if ( TQT_TQRECT_OBJECT(m_pCompletionBox->rect()).contains( ((TQMouseEvent*)e)->pos() ) ) { + if ( m_pCompletionBox->rect().contains( ((TQMouseEvent*)e)->pos() ) ) { complete(m_pCompletionBox->index(m_pCompletionBox->itemAt(((TQMouseEvent*)e)->pos()))); return TRUE; } break; case TQEvent::MouseButtonRelease: - if ( TQT_TQRECT_OBJECT(m_pCompletionBox->rect()).contains( ((TQMouseEvent*)e)->pos() ) ) { + if ( m_pCompletionBox->rect().contains( ((TQMouseEvent*)e)->pos() ) ) { TQMouseEvent tmp( TQEvent::MouseButtonDblClick, ((TQMouseEvent*)e)->pos(), ((TQMouseEvent*)e)->button(), ((TQMouseEvent*)e)->state() ) ; // will hide popup |