summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-06.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial2-06.html')
-rw-r--r--doc/html/tutorial2-06.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial2-06.html b/doc/html/tutorial2-06.html
index 762649abf..4f1ff0bf5 100644
--- a/doc/html/tutorial2-06.html
+++ b/doc/html/tutorial2-06.html
@@ -273,7 +273,7 @@ vector.
<pre> <a name="x2584"></a>void CanvasView::<a href="ntqscrollview.html#contentsContextMenuEvent">contentsContextMenuEvent</a>( <a href="qcontextmenuevent.html">TQContextMenuEvent</a> * )
{
- <a name="x2579"></a> ((ChartForm*)<a href="ntqobject.html#parent">parent</a>())-&gt;optionsMenu-&gt;exec( TQCursor::<a href="ntqcursor.html#pos">pos</a>() );
+ <a name="x2579"></a> ((ChartForm*)<a href="tqobject.html#parent">parent</a>())-&gt;optionsMenu-&gt;exec( TQCursor::<a href="ntqcursor.html#pos">pos</a>() );
}
</pre>
<p> When the user invokes a context menu (e.g. by right-clicking on most
@@ -285,7 +285,7 @@ position.
<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="x2583"></a> <a href="qcanvasview.html#canvas">canvas</a>()-&gt;resize( e-&gt;<a href="qresizeevent.html#size">size</a>().width(), e-&gt;<a href="qresizeevent.html#size">size</a>().height() );
- ((ChartForm*)<a href="ntqobject.html#parent">parent</a>())-&gt;drawElements();
+ ((ChartForm*)<a href="tqobject.html#parent">parent</a>())-&gt;drawElements();
}
</pre>
<p> To resize we simply resize the canvas that the canvas view is
@@ -319,7 +319,7 @@ and record its position. Otherwise we set there to be no moving item.
<a href="ntqpoint.html">TQPoint</a> offset = e-&gt;<a href="qmouseevent.html#pos">pos</a>() - m_pos;
<a name="x2582"></a><a name="x2581"></a> m_movingItem-&gt;moveBy( offset.<a href="ntqpoint.html#x">x</a>(), offset.<a href="ntqpoint.html#y">y</a>() );
m_pos = e-&gt;<a href="qmouseevent.html#pos">pos</a>();
- ChartForm *form = (ChartForm*)<a href="ntqobject.html#parent">parent</a>();
+ ChartForm *form = (ChartForm*)<a href="tqobject.html#parent">parent</a>();
form-&gt;setChanged( TRUE );
int chartType = form-&gt;chartType();
CanvasText *item = (CanvasText*)m_movingItem;