diff options
Diffstat (limited to 'krita/ui/kis_qpaintdevice_canvas.cc')
-rw-r--r-- | krita/ui/kis_qpaintdevice_canvas.cc | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/krita/ui/kis_qpaintdevice_canvas.cc b/krita/ui/kis_qpaintdevice_canvas.cc index 675b7138..da1132e6 100644 --- a/krita/ui/kis_qpaintdevice_canvas.cc +++ b/krita/ui/kis_qpaintdevice_canvas.cc @@ -23,96 +23,96 @@ #include "kis_qpaintdevice_canvas_painter.h" #include <kdebug.h> -KisQPaintDeviceCanvasWidget::KisQPaintDeviceCanvasWidget(QWidget *parent, const char *name) - : QWidget(parent, name) +KisTQPaintDeviceCanvasWidget::KisTQPaintDeviceCanvasWidget(TQWidget *tqparent, const char *name) + : TQWidget(tqparent, name) { } -KisQPaintDeviceCanvasWidget::~KisQPaintDeviceCanvasWidget() +KisTQPaintDeviceCanvasWidget::~KisTQPaintDeviceCanvasWidget() { } -void KisQPaintDeviceCanvasWidget::paintEvent(QPaintEvent *e) +void KisTQPaintDeviceCanvasWidget::paintEvent(TQPaintEvent *e) { widgetGotPaintEvent(e); } -void KisQPaintDeviceCanvasWidget::mousePressEvent(QMouseEvent *e) +void KisTQPaintDeviceCanvasWidget::mousePressEvent(TQMouseEvent *e) { widgetGotMousePressEvent(e); } -void KisQPaintDeviceCanvasWidget::mouseReleaseEvent(QMouseEvent *e) +void KisTQPaintDeviceCanvasWidget::mouseReleaseEvent(TQMouseEvent *e) { widgetGotMouseReleaseEvent(e); } -void KisQPaintDeviceCanvasWidget::mouseDoubleClickEvent(QMouseEvent *e) +void KisTQPaintDeviceCanvasWidget::mouseDoubleClickEvent(TQMouseEvent *e) { widgetGotMouseDoubleClickEvent(e); } -void KisQPaintDeviceCanvasWidget::mouseMoveEvent(QMouseEvent *e) +void KisTQPaintDeviceCanvasWidget::mouseMoveEvent(TQMouseEvent *e) { widgetGotMouseMoveEvent(e); } -void KisQPaintDeviceCanvasWidget::tabletEvent(QTabletEvent *e) +void KisTQPaintDeviceCanvasWidget::tabletEvent(TQTabletEvent *e) { widgetGotTabletEvent(e); } -void KisQPaintDeviceCanvasWidget::enterEvent(QEvent *e) +void KisTQPaintDeviceCanvasWidget::enterEvent(TQEvent *e) { widgetGotEnterEvent(e); } -void KisQPaintDeviceCanvasWidget::leaveEvent(QEvent *e) +void KisTQPaintDeviceCanvasWidget::leaveEvent(TQEvent *e) { widgetGotLeaveEvent(e); } -void KisQPaintDeviceCanvasWidget::wheelEvent(QWheelEvent *e) +void KisTQPaintDeviceCanvasWidget::wheelEvent(TQWheelEvent *e) { widgetGotWheelEvent(e); } -void KisQPaintDeviceCanvasWidget::keyPressEvent(QKeyEvent *e) +void KisTQPaintDeviceCanvasWidget::keyPressEvent(TQKeyEvent *e) { widgetGotKeyPressEvent(e); } -void KisQPaintDeviceCanvasWidget::keyReleaseEvent(QKeyEvent *e) +void KisTQPaintDeviceCanvasWidget::keyReleaseEvent(TQKeyEvent *e) { widgetGotKeyReleaseEvent(e); } -void KisQPaintDeviceCanvasWidget::dragEnterEvent(QDragEnterEvent *e) +void KisTQPaintDeviceCanvasWidget::dragEnterEvent(TQDragEnterEvent *e) { widgetGotDragEnterEvent(e); } -void KisQPaintDeviceCanvasWidget::dropEvent(QDropEvent *e) +void KisTQPaintDeviceCanvasWidget::dropEvent(TQDropEvent *e) { widgetGotDropEvent(e); } -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 -bool KisQPaintDeviceCanvasWidget::x11Event(XEvent *event) +bool KisTQPaintDeviceCanvasWidget::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 *KisQPaintDeviceCanvasWidget::createPainter() +KisCanvasWidgetPainter *KisTQPaintDeviceCanvasWidget::createPainter() { - return new KisQPaintDeviceCanvasPainter(this); + return new KisTQPaintDeviceCanvasPainter(this); } #if defined(EXTENDED_X11_TABLET_SUPPORT) -void KisQPaintDeviceCanvasWidget::selectTabletDeviceEvents() +void KisTQPaintDeviceCanvasWidget::selectTabletDeviceEvents() { KisCanvasWidget::selectTabletDeviceEvents(this); } |