From 0582c90a9ed4b965629267713f51c0da7c38b39d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 4 Sep 2024 11:53:23 +0900 Subject: Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h) Signed-off-by: Michele Calgaro --- doc/html/chart-canvasview-cpp.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/chart-canvasview-cpp.html') diff --git a/doc/html/chart-canvasview-cpp.html b/doc/html/chart-canvasview-cpp.html index 902c665c4..6e94de3e1 100644 --- a/doc/html/chart-canvasview-cpp.html +++ b/doc/html/chart-canvasview-cpp.html @@ -47,32 +47,32 @@ void CanvasView::contentsCo } -void CanvasView::viewportResizeEvent( TQResizeEvent *e ) +void CanvasView::viewportResizeEvent( TQResizeEvent *e ) { - canvas()->resize( e->size().width(), e->size().height() ); + canvas()->resize( e->size().width(), e->size().height() ); ((ChartForm*)parent())->drawElements(); } -void CanvasView::contentsMousePressEvent( TQMouseEvent *e ) +void CanvasView::contentsMousePressEvent( TQMouseEvent *e ) { - TQCanvasItemList list = canvas()->collisions( e->pos() ); + TQCanvasItemList list = canvas()->collisions( e->pos() ); for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it ) if ( (*it)->rtti() == CanvasText::CANVAS_TEXT ) { m_movingItem = *it; - m_pos = e->pos(); + m_pos = e->pos(); return; } m_movingItem = 0; } -void CanvasView::contentsMouseMoveEvent( TQMouseEvent *e ) +void CanvasView::contentsMouseMoveEvent( TQMouseEvent *e ) { if ( m_movingItem ) { - TQPoint offset = e->pos() - m_pos; + TQPoint offset = e->pos() - m_pos; m_movingItem->moveBy( offset.x(), offset.y() ); - m_pos = e->pos(); + m_pos = e->pos(); ChartForm *form = (ChartForm*)parent(); form->setChanged( TRUE ); int chartType = form->chartType(); -- cgit v1.2.1