From 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 5 Jun 2024 19:02:23 +0900 Subject: Rename template library nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tutorial2-06.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/tutorial2-06.html') diff --git a/doc/html/tutorial2-06.html b/doc/html/tutorial2-06.html index 73ea348a3..96eabdd41 100644 --- a/doc/html/tutorial2-06.html +++ b/doc/html/tutorial2-06.html @@ -44,7 +44,7 @@ drawElements() function is called to redraw the canvas when necessary.
    void ChartForm::drawElements()
     {
         TQCanvasItemList list = m_canvas->allItems();
-        for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it )
+        for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it )
             delete *it;
 

The first thing we do in drawElements() is delete all the existing @@ -300,7 +300,7 @@ drag and release at the new position.

    void CanvasView::contentsMousePressEvent( TQMouseEvent *e )
     {
         TQCanvasItemList list = canvas()->collisions( e->pos() );
-        for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it )
+        for ( TQCanvasItemList::iterator it = list.begin(); it != list.end(); ++it )
             if ( (*it)->rtti() == CanvasText::CANVAS_TEXT ) {
                 m_movingItem = *it;
                 m_pos = e->pos();
-- 
cgit v1.2.3