summaryrefslogtreecommitdiffstats
path: root/kpat/dealer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/dealer.cpp')
-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();