diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:53:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 20:55:39 +0900 |
commit | 853da7eee43250da64c426839af4715dce41cb77 (patch) | |
tree | 61ea54b2d2571aea60f63b89809b56f6e91645a7 | |
parent | e08aee7352871db73c78fa29e05bad10ae6c2edf (diff) | |
download | kbookreader-853da7eee43250da64c426839af4715dce41cb77.tar.gz kbookreader-853da7eee43250da64c426839af4715dce41cb77.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7ccba2e27d6b3887c4a17bbef4d998f5c7056646)
-rw-r--r-- | src/bookwidget.cpp | 4 |
1 files 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())) { |