From 98876ba8c52c0fc2f38c258476bc9637f055d576 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Nov 2023 10:37:12 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- libtdepim/addresseelineedit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libtdepim/addresseelineedit.cpp') diff --git a/libtdepim/addresseelineedit.cpp b/libtdepim/addresseelineedit.cpp index 06efda39..68a16e11 100644 --- a/libtdepim/addresseelineedit.cpp +++ b/libtdepim/addresseelineedit.cpp @@ -346,7 +346,7 @@ void AddresseeLineEdit::mouseReleaseEvent( TQMouseEvent *e ) if ( m_useCompletion && TQApplication::clipboard()->supportsSelection() && !isReadOnly() - && e->button() == Qt::MidButton ) { + && e->button() == TQt::MidButton ) { m_smartPaste = true; } @@ -1054,8 +1054,8 @@ bool KPIM::AddresseeLineEdit::eventFilter(TQObject *obj, TQEvent *e) // avoid selection of headers on button press, or move or release while // a button is pressed if ( e->type() == TQEvent::MouseButtonPress - || me->state() & Qt::LeftButton || me->state() & Qt::MidButton - || me->state() & Qt::RightButton ) { + || me->state() & TQt::LeftButton || me->state() & TQt::MidButton + || me->state() & TQt::RightButton ) { if ( itemIsHeader(item) ) { return true; // eat the event, we don't want anything to happen } else { -- cgit v1.2.3