diff options
Diffstat (limited to 'doc/html/tutorial2-05.html')
-rw-r--r-- | doc/html/tutorial2-05.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial2-05.html b/doc/html/tutorial2-05.html index 98f29edd7..b6f5302fc 100644 --- a/doc/html/tutorial2-05.html +++ b/doc/html/tutorial2-05.html @@ -263,17 +263,17 @@ menu by calling updateRecentFilesMenu(); (we'll review this later on). <p> Now that we have set the chart type (when we read it in as a user setting) it is safe to connect the chart group to our updateChartType() slot. -<p> <pre> <a href="ntqwidget.html#resize">resize</a>( windowWidth, windowHeight ); +<p> <pre> <a href="tqwidget.html#resize">resize</a>( windowWidth, windowHeight ); if ( windowX != -1 || windowY != -1 ) - <a href="ntqwidget.html#move">move</a>( windowX, windowY ); + <a href="tqwidget.html#move">move</a>( windowX, windowY ); </pre> <p> And now that we know the window size and position we can resize and move the chart form's window accordingly. <p> <pre> m_canvas = new <a href="tqcanvas.html">TQCanvas</a>( this ); - m_canvas-><a href="tqcanvas.html#resize">resize</a>( <a href="ntqwidget.html#width">width</a>(), height() ); + m_canvas-><a href="tqcanvas.html#resize">resize</a>( <a href="tqwidget.html#width">width</a>(), height() ); m_canvasView = new CanvasView( m_canvas, &m_elements, this ); <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( m_canvasView ); - m_canvasView-><a href="ntqwidget.html#show">show</a>(); + m_canvasView-><a href="tqwidget.html#show">show</a>(); </pre> <p> We create a new <a href="tqcanvas.html">TQCanvas</a> and set its size to that of the chart form window's client area. We also create a <tt>CanvasView</tt> (our own subclass @@ -301,7 +301,7 @@ call ensures that a status bar is created for this main window. </h3> <a name="2-1"></a><p> <pre> void ChartForm::init() { - <a href="ntqwidget.html#setCaption">setCaption</a>( "Chart" ); + <a href="tqwidget.html#setCaption">setCaption</a>( "Chart" ); m_filename = <a href="ntqstring.html#TQString-null">TQString::null</a>; m_changed = FALSE; @@ -534,11 +534,11 @@ and edit values, value colors, etc. { OptionsForm *optionsForm = new OptionsForm( this ); optionsForm->chartTypeComboBox->setCurrentItem( m_chartType ); - optionsForm-><a href="ntqwidget.html#setFont">setFont</a>( m_font ); + optionsForm-><a href="tqwidget.html#setFont">setFont</a>( m_font ); </pre><pre> if ( optionsForm-><a href="ntqdialog.html#exec">exec</a>() ) { setChartType( ChartType( optionsForm->chartTypeComboBox->currentItem()) ); - m_font = optionsForm-><a href="ntqwidget.html#font">font</a>(); + m_font = optionsForm-><a href="tqwidget.html#font">font</a>(); </pre><pre> drawElements(); } delete optionsForm; |