From cfee7c430dfa8778709343b7809f2fc4e24ef914 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:39:17 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46) --- kviewshell/marklist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kviewshell/marklist.cpp') diff --git a/kviewshell/marklist.cpp b/kviewshell/marklist.cpp index 9c2a7dee..799b5eea 100644 --- a/kviewshell/marklist.cpp +++ b/kviewshell/marklist.cpp @@ -258,11 +258,11 @@ bool MarkListWidget::isVisible() void MarkListWidget::mousePressEvent(TQMouseEvent* e) { // Select Page - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) { emit selected(pageNumber); } - else if (e->button() == Qt::RightButton) + else if (e->button() == TQt::RightButton) { emit showPopupMenu(pageNumber, e->globalPos()); } @@ -502,7 +502,7 @@ void MarkList::updateWidgetSize(const PageNumber& pageNumber) void MarkList::mousePressEvent(TQMouseEvent* e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) { // We call showPopupMenu with an invalid pageNumber to indicate that // the mouse does not point at a thumbnailWidget. -- cgit v1.2.1