From 4243c1195d662a4e6e0971cef547520ece2c6673 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:39:06 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kpat/dealer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpat') diff --git a/kpat/dealer.cpp b/kpat/dealer.cpp index 43bca4c5..e021ea8c 100644 --- a/kpat/dealer.cpp +++ b/kpat/dealer.cpp @@ -342,7 +342,7 @@ void Dealer::contentsMousePressEvent(TQMouseEvent* e) if (!list.count()) return; - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { if (list.first()->rtti() == Card::RTTI) { Card *c = dynamic_cast(list.first()); assert(c); @@ -355,7 +355,7 @@ void Dealer::contentsMousePressEvent(TQMouseEvent* e) return; } - if (e->button() == Qt::RightButton) { + if (e->button() == TQt::RightButton) { if (list.first()->rtti() == Card::RTTI) { Card *preview = dynamic_cast(list.first()); assert(preview); @@ -1379,9 +1379,9 @@ void Dealer::wheelEvent( TQWheelEvent *e ) e->globalPos(), e->delta(), e->state()); viewportWheelEvent(&ce); if ( !ce.isAccepted() ) { - if ( e->orientation() ==Qt::Horizontal && hScrollBarMode () == AlwaysOn ) + if ( e->orientation() ==TQt::Horizontal && hScrollBarMode () == AlwaysOn ) TQApplication::sendEvent( horizontalScrollBar(), e); - else if (e->orientation() ==Qt::Vertical && vScrollBarMode () == AlwaysOn ) + else if (e->orientation() ==TQt::Vertical && vScrollBarMode () == AlwaysOn ) TQApplication::sendEvent( verticalScrollBar(), e); } else { e->accept(); -- cgit v1.2.1