Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 6 months ago
parent e80bcb3a5b
commit 7ccba2e27d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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()))
{

Loading…
Cancel
Save