diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gvcore/cursortracker.cpp | 2 | ||||
-rw-r--r-- | src/gvcore/imageview.cpp | 16 | ||||
-rw-r--r-- | src/gvdirpart/gvdirpart.cpp | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/gvcore/cursortracker.cpp b/src/gvcore/cursortracker.cpp index 5baf1b9..e6bee5c 100644 --- a/src/gvcore/cursortracker.cpp +++ b/src/gvcore/cursortracker.cpp @@ -48,7 +48,7 @@ bool CursorTracker::eventFilter(TQObject* object, TQEvent* _event) { switch (_event->type()) { case TQEvent::MouseMove: { TQMouseEvent* event=TQT_TQMOUSEEVENT(_event); - if (widget->rect().contains(event->pos()) || (event->stateAfter() & Qt::LeftButton)) { + if (widget->rect().contains(event->pos()) || (event->stateAfter() & TQt::LeftButton)) { show(); move(event->globalPos().x() + 15, event->globalPos().y() + 15); } else { 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()) { diff --git a/src/gvdirpart/gvdirpart.cpp b/src/gvdirpart/gvdirpart.cpp index 24cc05a..d836f48 100644 --- a/src/gvdirpart/gvdirpart.cpp +++ b/src/gvdirpart/gvdirpart.cpp @@ -68,7 +68,7 @@ GVDirPart::GVDirPart(TQWidget* parentWidget, const char* /*widgetName*/, TQObjec mBrowserExtension = new GVDirPartBrowserExtension(this); - mSplitter = new TQSplitter(Qt::Horizontal, parentWidget, "gwenview-kpart-splitter"); + mSplitter = new TQSplitter(TQt::Horizontal, parentWidget, "gwenview-kpart-splitter"); mSplitter->setFocusPolicy(TQWidget::ClickFocus); mSplitter->setOpaqueResize(true); |