diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-05 19:02:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-05 19:02:23 +0900 |
commit | 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (patch) | |
tree | d62f4174c0e58e1aa895fc71484d068b614cd6de /doc/html/tutorial2-06.html | |
parent | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (diff) | |
download | tqt3-1f0ce8533cc837aa2d4155b5fc17d2004bed0197.tar.gz tqt3-1f0ce8533cc837aa2d4155b5fc17d2004bed0197.zip |
Rename template library nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial2-06.html')
-rw-r--r-- | doc/html/tutorial2-06.html | 4 |
1 files changed, 2 insertions, 2 deletions
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. <pre> void ChartForm::drawElements() { <a href="tqcanvasitemlist.html">TQCanvasItemList</a> list = m_canvas->allItems(); - for ( TQCanvasItemList::iterator it = list.<a href="ntqvaluelist.html#begin">begin</a>(); it != list.<a href="ntqvaluelist.html#end">end</a>(); ++it ) + for ( TQCanvasItemList::iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); it != list.<a href="tqvaluelist.html#end">end</a>(); ++it ) delete *it; </pre> <p> The first thing we do in drawElements() is delete all the existing @@ -300,7 +300,7 @@ drag and release at the new position. <p> <pre> <a name="x2586"></a>void CanvasView::<a href="ntqscrollview.html#contentsMousePressEvent">contentsMousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) { <a name="x2580"></a> <a href="tqcanvasitemlist.html">TQCanvasItemList</a> list = <a href="tqcanvasview.html#canvas">canvas</a>()->collisions( e-><a href="qmouseevent.html#pos">pos</a>() ); - <a name="x2589"></a><a name="x2588"></a> for ( TQCanvasItemList::iterator it = list.<a href="ntqvaluelist.html#begin">begin</a>(); it != list.<a href="ntqvaluelist.html#end">end</a>(); ++it ) + <a name="x2589"></a><a name="x2588"></a> for ( TQCanvasItemList::iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); it != list.<a href="tqvaluelist.html#end">end</a>(); ++it ) if ( (*it)->rtti() == CanvasText::CANVAS_TEXT ) { m_movingItem = *it; m_pos = e-><a href="qmouseevent.html#pos">pos</a>(); |