summaryrefslogtreecommitdiffstats
path: root/digikam/libs/widgets/metadata/worldmapwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/libs/widgets/metadata/worldmapwidget.cpp')
-rw-r--r--digikam/libs/widgets/metadata/worldmapwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/digikam/libs/widgets/metadata/worldmapwidget.cpp b/digikam/libs/widgets/metadata/worldmapwidget.cpp
index 17d07cc..811e914 100644
--- a/digikam/libs/widgets/metadata/worldmapwidget.cpp
+++ b/digikam/libs/widgets/metadata/worldmapwidget.cpp
@@ -176,7 +176,7 @@ void WorldMapWidget::drawContents(TQPainter *p, int x, int y, int w, int h)
void WorldMapWidget::contentsMousePressEvent ( TQMouseEvent * e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
{
d->xMousePos = e->x();
d->yMousePos = e->y();
@@ -191,7 +191,7 @@ void WorldMapWidget::contentsMouseReleaseEvent ( TQMouseEvent * )
void WorldMapWidget::contentsMouseMoveEvent( TQMouseEvent * e )
{
- if ( e->state() == Qt::LeftButton )
+ if ( e->state() == TQt::LeftButton )
{
uint newxpos = e->x();
uint newypos = e->y();