summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_opengl_canvas.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_opengl_canvas.cc')
-rw-r--r--krita/ui/kis_opengl_canvas.cc42
1 files changed, 21 insertions, 21 deletions
diff --git a/krita/ui/kis_opengl_canvas.cc b/krita/ui/kis_opengl_canvas.cc
index 0ec9ec72..d5f8dce4 100644
--- a/krita/ui/kis_opengl_canvas.cc
+++ b/krita/ui/kis_opengl_canvas.cc
@@ -21,13 +21,13 @@
#include "kis_opengl_canvas_painter.h"
#ifdef HAVE_GL
-KisOpenGLCanvasWidget::KisOpenGLCanvasWidget(QWidget *parent, const char *name, QGLWidget *sharedContextWidget)
- : QGLWidget(KisOpenGLCanvasFormat, parent, name, sharedContextWidget)
+KisOpenGLCanvasWidget::KisOpenGLCanvasWidget(TQWidget *tqparent, const char *name, TQGLWidget *sharedContextWidget)
+ : TQGLWidget(KisOpenGLCanvasFormat, tqparent, name, sharedContextWidget)
{
if (isSharing()) {
- kdDebug(41001) << "Created QGLWidget with sharing\n";
+ kdDebug(41001) << "Created TQGLWidget with sharing\n";
} else {
- kdDebug(41001) << "Created QGLWidget with no sharing\n";
+ kdDebug(41001) << "Created TQGLWidget with no sharing\n";
}
}
@@ -35,81 +35,81 @@ KisOpenGLCanvasWidget::~KisOpenGLCanvasWidget()
{
}
-void KisOpenGLCanvasWidget::paintEvent(QPaintEvent *e)
+void KisOpenGLCanvasWidget::paintEvent(TQPaintEvent *e)
{
- QGLWidget::paintEvent(e);
+ TQGLWidget::paintEvent(e);
widgetGotPaintEvent(e);
}
-void KisOpenGLCanvasWidget::mousePressEvent(QMouseEvent *e)
+void KisOpenGLCanvasWidget::mousePressEvent(TQMouseEvent *e)
{
widgetGotMousePressEvent(e);
}
-void KisOpenGLCanvasWidget::mouseReleaseEvent(QMouseEvent *e)
+void KisOpenGLCanvasWidget::mouseReleaseEvent(TQMouseEvent *e)
{
widgetGotMouseReleaseEvent(e);
}
-void KisOpenGLCanvasWidget::mouseDoubleClickEvent(QMouseEvent *e)
+void KisOpenGLCanvasWidget::mouseDoubleClickEvent(TQMouseEvent *e)
{
widgetGotMouseDoubleClickEvent(e);
}
-void KisOpenGLCanvasWidget::mouseMoveEvent(QMouseEvent *e)
+void KisOpenGLCanvasWidget::mouseMoveEvent(TQMouseEvent *e)
{
widgetGotMouseMoveEvent(e);
}
-void KisOpenGLCanvasWidget::tabletEvent(QTabletEvent *e)
+void KisOpenGLCanvasWidget::tabletEvent(TQTabletEvent *e)
{
widgetGotTabletEvent(e);
}
-void KisOpenGLCanvasWidget::enterEvent(QEvent *e)
+void KisOpenGLCanvasWidget::enterEvent(TQEvent *e)
{
widgetGotEnterEvent(e);
}
-void KisOpenGLCanvasWidget::leaveEvent(QEvent *e)
+void KisOpenGLCanvasWidget::leaveEvent(TQEvent *e)
{
widgetGotLeaveEvent(e);
}
-void KisOpenGLCanvasWidget::wheelEvent(QWheelEvent *e)
+void KisOpenGLCanvasWidget::wheelEvent(TQWheelEvent *e)
{
widgetGotWheelEvent(e);
}
-void KisOpenGLCanvasWidget::keyPressEvent(QKeyEvent *e)
+void KisOpenGLCanvasWidget::keyPressEvent(TQKeyEvent *e)
{
widgetGotKeyPressEvent(e);
}
-void KisOpenGLCanvasWidget::keyReleaseEvent(QKeyEvent *e)
+void KisOpenGLCanvasWidget::keyReleaseEvent(TQKeyEvent *e)
{
widgetGotKeyReleaseEvent(e);
}
-void KisOpenGLCanvasWidget::dragEnterEvent(QDragEnterEvent *e)
+void KisOpenGLCanvasWidget::dragEnterEvent(TQDragEnterEvent *e)
{
widgetGotDragEnterEvent(e);
}
-void KisOpenGLCanvasWidget::dropEvent(QDropEvent *e)
+void KisOpenGLCanvasWidget::dropEvent(TQDropEvent *e)
{
widgetGotDropEvent(e);
}
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
bool KisOpenGLCanvasWidget::x11Event(XEvent *event)
{
- return KisCanvasWidget::x11Event(event, x11Display(), winId(), mapToGlobal(QPoint(0, 0)));
+ return KisCanvasWidget::x11Event(event, x11Display(), winId(), mapToGlobal(TQPoint(0, 0)));
}
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
KisCanvasWidgetPainter *KisOpenGLCanvasWidget::createPainter()
{