summaryrefslogtreecommitdiffstats
path: root/kpat
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:39:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:02:18 +0900
commit4243c1195d662a4e6e0971cef547520ece2c6673 (patch)
treec2ad6162439ea0d563c5a094be51a756340b33ab /kpat
parent05581ab8401a949370656e30b27918af89675edc (diff)
downloadtdegames-4243c1195d662a4e6e0971cef547520ece2c6673.tar.gz
tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpat')
-rw-r--r--kpat/dealer.cpp8
1 files changed, 4 insertions, 4 deletions
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<Card*>(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<Card*>(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();