diff options
Diffstat (limited to 'src/gui/rulers/PropertyControlRuler.cpp')
-rw-r--r-- | src/gui/rulers/PropertyControlRuler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/rulers/PropertyControlRuler.cpp b/src/gui/rulers/PropertyControlRuler.cpp index 0c232be..0f0324f 100644 --- a/src/gui/rulers/PropertyControlRuler.cpp +++ b/src/gui/rulers/PropertyControlRuler.cpp @@ -236,7 +236,7 @@ PropertyControlRuler::contentsMousePressEvent(TQMouseEvent *e) RG_DEBUG << "PropertyControlRuler::contentsMousePressEvent\n"; if (!m_propertyLineShowing) { - if (e->button() == Qt::MidButton) + if (e->button() == TQt::MidButton) m_lastEventPos = inverseMapPoint(e->pos()); ControlRuler::contentsMousePressEvent(e); // send super @@ -245,7 +245,7 @@ PropertyControlRuler::contentsMousePressEvent(TQMouseEvent *e) } // cancel control line mode - if (e->button() == Qt::RightButton) { + if (e->button() == TQt::RightButton) { m_propertyLineShowing = false; m_propertyLine->hide(); @@ -253,7 +253,7 @@ PropertyControlRuler::contentsMousePressEvent(TQMouseEvent *e) return ; } - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { TQPoint p = inverseMapPoint(e->pos()); m_propertyLine->show(); @@ -319,7 +319,7 @@ PropertyControlRuler::contentsMouseMoveEvent(TQMouseEvent *e) if (!m_propertyLineShowing) { // Don't send super if we're using the middle button // - if (e->button() == Qt::MidButton) { + if (e->button() == TQt::MidButton) { m_lastEventPos = inverseMapPoint(e->pos()); return ; } |