Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 1 year ago
parent a10d1f1566
commit 0130e6d75a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

Loading…
Cancel
Save