summaryrefslogtreecommitdiffstats
path: root/src/bookwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:53:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:53:43 +0900
commit7ccba2e27d6b3887c4a17bbef4d998f5c7056646 (patch)
tree02789f973d56b1918ac94030be8a26b7c757e808 /src/bookwidget.cpp
parente80bcb3a5b0b5832fdb9d64c2ede625694bb03ec (diff)
downloadkbookreader-7ccba2e27d6b3887c4a17bbef4d998f5c7056646.tar.gz
kbookreader-7ccba2e27d6b3887c4a17bbef4d998f5c7056646.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/bookwidget.cpp')
-rw-r--r--src/bookwidget.cpp4
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()))
{