summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewtools.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageviewtools.h')
-rw-r--r--src/gvcore/imageviewtools.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/gvcore/imageviewtools.h b/src/gvcore/imageviewtools.h
index f0d175b..5e23694 100644
--- a/src/gvcore/imageviewtools.h
+++ b/src/gvcore/imageviewtools.h
@@ -21,8 +21,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef IMAGEVIEWTOOLS_H
#define IMAGEVIEWTOOLS_H
-// Qt
-#include <qcursor.h>
+// TQt
+#include <tqcursor.h>
// Local
#include "imageview.h"
@@ -36,42 +36,42 @@ protected:
public:
ToolBase(ImageView* view);
virtual ~ToolBase();
- virtual void mouseMoveEvent(QMouseEvent*);
+ virtual void mouseMoveEvent(TQMouseEvent*);
- virtual void leftButtonPressEvent(QMouseEvent*);
- virtual void leftButtonReleaseEvent(QMouseEvent*);
+ virtual void leftButtonPressEvent(TQMouseEvent*);
+ virtual void leftButtonReleaseEvent(TQMouseEvent*);
- virtual void midButtonReleaseEvent(QMouseEvent*);
+ virtual void midButtonReleaseEvent(TQMouseEvent*);
- virtual void rightButtonPressEvent(QMouseEvent* event);
- virtual void rightButtonReleaseEvent(QMouseEvent*);
+ virtual void rightButtonPressEvent(TQMouseEvent* event);
+ virtual void rightButtonReleaseEvent(TQMouseEvent*);
- virtual void wheelEvent(QWheelEvent* event);
+ virtual void wheelEvent(TQWheelEvent* event);
virtual void updateCursor();
/**
* Return a hint about the use of the tool
*/
- virtual QString hint() const=0;
+ virtual TQString hint() const=0;
};
class ImageView::ZoomTool : public ImageView::ToolBase {
private:
- QCursor mZoomCursor;
- void zoomTo(const QPoint& pos, bool in);
+ TQCursor mZoomCursor;
+ void zoomTo(const TQPoint& pos, bool in);
public:
ZoomTool(ImageView* view);
- void leftButtonReleaseEvent(QMouseEvent* event);
+ void leftButtonReleaseEvent(TQMouseEvent* event);
- void wheelEvent(QWheelEvent* event);
- void rightButtonPressEvent(QMouseEvent*);
- void rightButtonReleaseEvent(QMouseEvent* event);
+ void wheelEvent(TQWheelEvent* event);
+ void rightButtonPressEvent(TQMouseEvent*);
+ void rightButtonReleaseEvent(TQMouseEvent* event);
void updateCursor();
- virtual QString hint() const;
+ virtual TQString hint() const;
};
@@ -81,13 +81,13 @@ class ImageView::ScrollTool : public ImageView::ToolBase {
public:
ScrollTool(ImageView* view);
- void leftButtonPressEvent(QMouseEvent* event);
- void mouseMoveEvent(QMouseEvent* event);
- void leftButtonReleaseEvent(QMouseEvent*);
- void wheelEvent(QWheelEvent* event);
+ void leftButtonPressEvent(TQMouseEvent* event);
+ void mouseMoveEvent(TQMouseEvent* event);
+ void leftButtonReleaseEvent(TQMouseEvent*);
+ void wheelEvent(TQWheelEvent* event);
void updateCursor();
- virtual QString hint() const;
+ virtual TQString hint() const;
};