diff options
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r-- | src/gvcore/imageview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp index 1604528..11ffb94 100644 --- a/src/gvcore/imageview.cpp +++ b/src/gvcore/imageview.cpp @@ -958,10 +958,10 @@ void ImageView::performPaint( TQPainter* painter, int clipx, int clipy, int clip void ImageView::viewportMousePressEvent(TQMouseEvent* event) { viewport()->setFocus(); switch (event->button()) { - case Qt::LeftButton: + case TQt::LeftButton: d->mTools[d->mToolID]->leftButtonPressEvent(event); break; - case Qt::RightButton: + case TQt::RightButton: d->mTools[d->mToolID]->rightButtonPressEvent(event); break; default: // Avoid compiler complain @@ -978,8 +978,8 @@ void ImageView::viewportMouseMoveEvent(TQMouseEvent* event) { void ImageView::viewportMouseReleaseEvent(TQMouseEvent* event) { switch (event->button()) { - case Qt::LeftButton: - if (event->stateAfter() & Qt::RightButton) { + case TQt::LeftButton: + if (event->stateAfter() & TQt::RightButton) { d->mOperaLikePrevious=true; emit selectPrevious(); return; @@ -987,12 +987,12 @@ void ImageView::viewportMouseReleaseEvent(TQMouseEvent* event) { d->mTools[d->mToolID]->leftButtonReleaseEvent(event); break; - case Qt::MidButton: + case TQt::MidButton: d->mTools[d->mToolID]->midButtonReleaseEvent(event); break; - case Qt::RightButton: - if (event->stateAfter() & Qt::LeftButton) { + case TQt::RightButton: + if (event->stateAfter() & TQt::LeftButton) { emit selectNext(); return; } @@ -1062,7 +1062,7 @@ void ImageView::keyPressEvent( TQKeyEvent *event ) { TQScrollView::keyPressEvent( event ); int deltaX, deltaY; - if (event->state() != Qt::NoButton) { + if (event->state() != TQt::NoButton) { return; } switch (event->key()) { |