summaryrefslogtreecommitdiffstats
path: root/chalk/ui/imageviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/imageviewer.cpp')
-rw-r--r--chalk/ui/imageviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/imageviewer.cpp b/chalk/ui/imageviewer.cpp
index 5e74c8fe..fe632dcc 100644
--- a/chalk/ui/imageviewer.cpp
+++ b/chalk/ui/imageviewer.cpp
@@ -50,7 +50,7 @@ void ImageViewer::setImage(TQImage & image)
void ImageViewer::contentsMousePressEvent(TQMouseEvent *event)
{
- if(Qt::LeftButton == event->button()) {
+ if(TQt::LeftButton == event->button()) {
setCursor(KisCursor::closedHandCursor());
m_currentPos = event->globalPos();
m_isDragging = true;
@@ -59,7 +59,7 @@ void ImageViewer::contentsMousePressEvent(TQMouseEvent *event)
void ImageViewer::contentsMouseReleaseEvent(TQMouseEvent *event)
{
- if(Qt::LeftButton == event->button()) {
+ if(TQt::LeftButton == event->button()) {
setCursor(KisCursor::handCursor());
m_currentPos = event->globalPos();
m_isDragging = false;