diff options
Diffstat (limited to 'doc/html/tutorial2-06.html')
-rw-r--r-- | doc/html/tutorial2-06.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/tutorial2-06.html b/doc/html/tutorial2-06.html index 3f2c03868..d57d8cf9e 100644 --- a/doc/html/tutorial2-06.html +++ b/doc/html/tutorial2-06.html @@ -271,7 +271,7 @@ vector. <a name="3-1"></a><p> (Extracts from <tt>canvasview.cpp</tt>.) <p> -<pre> <a name="x2584"></a>void CanvasView::<a href="ntqscrollview.html#contentsContextMenuEvent">contentsContextMenuEvent</a>( <a href="qcontextmenuevent.html">TQContextMenuEvent</a> * ) +<pre> <a name="x2584"></a>void CanvasView::<a href="tqscrollview.html#contentsContextMenuEvent">contentsContextMenuEvent</a>( <a href="qcontextmenuevent.html">TQContextMenuEvent</a> * ) { <a name="x2579"></a> ((ChartForm*)<a href="tqobject.html#parent">parent</a>())->optionsMenu->exec( TQCursor::<a href="ntqcursor.html#pos">pos</a>() ); } @@ -282,7 +282,7 @@ to the right type and then exec()ute the options menu at the cursor position. <p> <h3> Handling Resizing </h3> -<a name="3-2"></a><p> <pre> <a name="x2587"></a>void CanvasView::<a href="ntqscrollview.html#viewportResizeEvent">viewportResizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> *e ) +<a name="3-2"></a><p> <pre> <a name="x2587"></a>void CanvasView::<a href="tqscrollview.html#viewportResizeEvent">viewportResizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> *e ) { <a name="x2583"></a> <a href="tqcanvasview.html#canvas">canvas</a>()->resize( e-><a href="qresizeevent.html#size">size</a>().width(), e-><a href="qresizeevent.html#size">size</a>().height() ); ((ChartForm*)<a href="tqobject.html#parent">parent</a>())->drawElements(); @@ -297,7 +297,7 @@ drawn correctly. </h3> <a name="3-3"></a><p> When the user wants to drag a label into position they click it, then 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 ) +<p> <pre> <a name="x2586"></a>void CanvasView::<a href="tqscrollview.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="tqvaluelist.html#begin">begin</a>(); it != list.<a href="tqvaluelist.html#end">end</a>(); ++it ) @@ -313,7 +313,7 @@ drag and release at the new position. the mouse click "collided" with (if any). We then iterate over this list and if we find a <tt>CanvasText</tt> item we set it as the moving item and record its position. Otherwise we set there to be no moving item. -<p> <pre> <a name="x2585"></a>void CanvasView::<a href="ntqscrollview.html#contentsMouseMoveEvent">contentsMouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) +<p> <pre> <a name="x2585"></a>void CanvasView::<a href="tqscrollview.html#contentsMouseMoveEvent">contentsMouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) { if ( m_movingItem ) { <a href="tqpoint.html">TQPoint</a> offset = e-><a href="qmouseevent.html#pos">pos</a>() - m_pos; |