summaryrefslogtreecommitdiffstats
path: root/digikam/libs/widgets/common/previewwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/libs/widgets/common/previewwidget.cpp')
-rw-r--r--digikam/libs/widgets/common/previewwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/digikam/libs/widgets/common/previewwidget.cpp b/digikam/libs/widgets/common/previewwidget.cpp
index 9e34d00..0fe5cb2 100644
--- a/digikam/libs/widgets/common/previewwidget.cpp
+++ b/digikam/libs/widgets/common/previewwidget.cpp
@@ -545,16 +545,16 @@ void PreviewWidget::viewportPaintEvent(TQPaintEvent *e)
void PreviewWidget::contentsMousePressEvent(TQMouseEvent *e)
{
- if (!e || e->button() == Qt::RightButton)
+ if (!e || e->button() == TQt::RightButton)
return;
m_movingInProgress = false;
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
{
emit signalLeftButtonClicked();
}
- else if (e->button() == Qt::MidButton)
+ else if (e->button() == TQt::MidButton)
{
if (visibleWidth() < d->zoomWidth ||
visibleHeight() < d->zoomHeight)
@@ -575,7 +575,7 @@ void PreviewWidget::contentsMouseMoveEvent(TQMouseEvent *e)
{
if (!e) return;
- if (e->state() & Qt::MidButton)
+ if (e->state() & TQt::MidButton)
{
if (m_movingInProgress)
{
@@ -592,14 +592,14 @@ void PreviewWidget::contentsMouseReleaseEvent(TQMouseEvent *e)
m_movingInProgress = false;
- if (e->button() == Qt::MidButton)
+ if (e->button() == TQt::MidButton)
{
emit signalContentsMovedEvent(true);
viewport()->unsetCursor();
viewport()->repaint(false);
}
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
emit signalRightButtonClicked();
}