summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()))
{