summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
index fe449ee4..77cdd336 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp
@@ -74,7 +74,7 @@ void KisToolZoom::paint(KisCanvasPainter& gc, const TQRect& rc)
void KisToolZoom::buttonPress(KisButtonPressEvent *e)
{
if (m_subject && m_subject->currentImg() && !m_dragging) {
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
m_startPos = e->pos().floorTQPoint();
m_endPos = e->pos().floorTQPoint();
m_dragging = true;
@@ -95,7 +95,7 @@ void KisToolZoom::move(KisMoveEvent *e)
void KisToolZoom::buttonRelease(KisButtonReleaseEvent *e)
{
- if (m_subject && m_dragging && e->button() == Qt::LeftButton) {
+ if (m_subject && m_dragging && e->button() == TQt::LeftButton) {
KisCanvasController *controller = m_subject->canvasController();
m_endPos = e->pos().floorTQPoint();