From c8ece3630d4d21acaf1749fc2cf660a0463070c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 20:33:00 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- tdehtml/html/html_inlineimpl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdehtml/html/html_inlineimpl.cpp') diff --git a/tdehtml/html/html_inlineimpl.cpp b/tdehtml/html/html_inlineimpl.cpp index f403a2385..1416ca3f4 100644 --- a/tdehtml/html/html_inlineimpl.cpp +++ b/tdehtml/html/html_inlineimpl.cpp @@ -132,11 +132,11 @@ void HTMLAnchorElementImpl::defaultEventHandler(EventImpl *evt) state |= TQt::MetaButton; if ( e->button() == 0 ) - button = Qt::LeftButton; + button = TQt::LeftButton; else if ( e->button() == 1 ) - button = Qt::MidButton; + button = TQt::MidButton; else if ( e->button() == 2 ) - button = Qt::RightButton; + button = TQt::RightButton; } else if ( k ) { @@ -166,7 +166,7 @@ void HTMLAnchorElementImpl::defaultEventHandler(EventImpl *evt) void HTMLAnchorElementImpl::click() { - TQMouseEvent me(TQEvent::MouseButtonRelease, TQPoint(0,0),Qt::LeftButton, 0); + TQMouseEvent me(TQEvent::MouseButtonRelease, TQPoint(0,0),TQt::LeftButton, 0); dispatchMouseEvent(&me,EventImpl::CLICK_EVENT, 1); } -- cgit v1.2.3