From 853da7eee43250da64c426839af4715dce41cb77 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:53:43 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 7ccba2e27d6b3887c4a17bbef4d998f5c7056646) --- src/bookwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bookwidget.cpp b/src/bookwidget.cpp index 4ce544e..5375c3c 100644 --- a/src/bookwidget.cpp +++ b/src/bookwidget.cpp @@ -155,7 +155,7 @@ void BookWidget::drawBookmark(TQPainter & paint, Bookmark const& bm) paint.save(); paint.translate(TQWidget::width()/2., 20.); paint.rotate(90.); - const TQString text = bm.name() + " (" + bm.dateTime().toString(Qt::LocalDate) + ")"; + const TQString text = bm.name() + " (" + bm.dateTime().toString(TQt::LocalDate) + ")"; paint.drawText(0, 0, text); paint.restore(); } @@ -222,7 +222,7 @@ void BookWidget::setupPageSize() void BookWidget::mousePressEvent(TQMouseEvent * event) { - if (event->button() == Qt::LeftButton) + if (event->button() == TQt::LeftButton) { if (rectLeftPage().contains(event->pos())) { -- cgit v1.2.1