summaryrefslogtreecommitdiffstats
path: root/ksvg/test/external/SVGTestWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/test/external/SVGTestWidget.cpp')
-rw-r--r--ksvg/test/external/SVGTestWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/test/external/SVGTestWidget.cpp b/ksvg/test/external/SVGTestWidget.cpp
index db1d362b..0e0d5f9d 100644
--- a/ksvg/test/external/SVGTestWidget.cpp
+++ b/ksvg/test/external/SVGTestWidget.cpp
@@ -88,11 +88,11 @@ KSVG::SVGMouseEventImpl *newMouseEvent(SVGDocument *doc, KSVG::SVGEventImpl::Eve
}
int button = 0;
- if(event->stateAfter() & Qt::LeftButton)
+ if(event->stateAfter() & TQt::LeftButton)
button = 1;
- else if(event->stateAfter() & Qt::MidButton)
+ else if(event->stateAfter() & TQt::MidButton)
button = 2;
- else if(event->stateAfter() & Qt::RightButton)
+ else if(event->stateAfter() & TQt::RightButton)
button = 3;
KSVG::SVGMouseEventImpl *mev = new KSVG::SVGMouseEventImpl(id, // type