From fd73938a15f943080d24d458f53e01ccc17dbfd1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 15:22:45 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit fda1c3c5d01e1b9093f6d17574face12274c6e3f) --- src/urlnavigatorbutton.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/urlnavigatorbutton.cpp') diff --git a/src/urlnavigatorbutton.cpp b/src/urlnavigatorbutton.cpp index 2066143..fbfa02e 100644 --- a/src/urlnavigatorbutton.cpp +++ b/src/urlnavigatorbutton.cpp @@ -368,14 +368,14 @@ bool URLNavigatorButton::isTextClipped() const void URLNavigatorButton::mousePressEvent(TQMouseEvent * event) { - if (event->button() == Qt::LeftButton) + if (event->button() == TQt::LeftButton) dragPos = event->pos(); URLButton::mousePressEvent(event); } void URLNavigatorButton::mouseMoveEvent(TQMouseEvent * event) { - if (event->state() & Qt::LeftButton) { + if (event->state() & TQt::LeftButton) { int distance = (event->pos() - dragPos).manhattanLength(); if (distance > TQApplication::startDragDistance()*2)//don't start on small move (for submenu usability) startDrag(); -- cgit v1.2.3