diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/tutorial2-09.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial2-09.html')
-rw-r--r-- | doc/html/tutorial2-09.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html index 0ca476d4c..9a744357e 100644 --- a/doc/html/tutorial2-09.html +++ b/doc/html/tutorial2-09.html @@ -43,7 +43,7 @@ apply to all data sets in one place. { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - OptionsForm( <a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = "options form", + OptionsForm( <a href="tqwidget.html">TQWidget</a>* parent = 0, const char* name = "options form", bool modal = FALSE, WFlags f = 0 ); ~OptionsForm() {} @@ -95,12 +95,12 @@ things based on the changes the user makes. <p> We include some some pixmaps to use in the chart type combobox. <p> <h2> The Constructor </h2> -<a name="1"></a><p> <pre> OptionsForm::OptionsForm( <a href="ntqwidget.html">TQWidget</a>* parent, const char* name, +<a name="1"></a><p> <pre> OptionsForm::OptionsForm( <a href="tqwidget.html">TQWidget</a>* parent, const char* name, bool modal, WFlags f ) : <a href="ntqdialog.html">TQDialog</a>( parent, name, modal, f ) { - <a href="ntqwidget.html#setCaption">setCaption</a>( "Chart -- Options" ); - <a href="ntqwidget.html#resize">resize</a>( 320, 290 ); + <a href="tqwidget.html#setCaption">setCaption</a>( "Chart -- Options" ); + <a href="tqwidget.html#resize">resize</a>( 320, 290 ); </pre> <p> We pass all the arguments on to the <a href="ntqdialog.html">TQDialog</a> constructor, set a caption and set an initial size. @@ -158,10 +158,10 @@ know what font the user is using). addValuesButtonGroup = new <a href="ntqbuttongroup.html">TQButtonGroup</a>( "Show Values", addValuesFrame ); <a name="x2641"></a> addValuesButtonGroup-><a href="ntqgroupbox.html#setColumnLayout">setColumnLayout</a>(0, TQt::Vertical ); - <a name="x2647"></a> addValuesButtonGroup-><a href="ntqwidget.html#layout">layout</a>()->setSpacing( 6 ); - addValuesButtonGroup-><a href="ntqwidget.html#layout">layout</a>()->setMargin( 11 ); + <a name="x2647"></a> addValuesButtonGroup-><a href="tqwidget.html#layout">layout</a>()->setSpacing( 6 ); + addValuesButtonGroup-><a href="tqwidget.html#layout">layout</a>()->setMargin( 11 ); addValuesButtonGroupLayout = new <a href="qvboxlayout.html">TQVBoxLayout</a>( - addValuesButtonGroup-><a href="ntqwidget.html#layout">layout</a>() ); + addValuesButtonGroup-><a href="tqwidget.html#layout">layout</a>() ); <a name="x2644"></a> addValuesButtonGroupLayout-><a href="qlayoutitem.html#setAlignment">setAlignment</a>( TQt::AlignTop ); noRadioButton = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&No", addValuesButtonGroup ); @@ -210,14 +210,14 @@ accelerators. bool ok; <a name="x2638"></a> <a href="ntqfont.html">TQFont</a> font = TQFontDialog::<a href="ntqfontdialog.html#getFont">getFont</a>( &ok, m_font, this ); if ( ok ) - <a href="ntqwidget.html#setFont">setFont</a>( font ); + <a href="tqwidget.html#setFont">setFont</a>( font ); } </pre> <p> When the user clicks the Font button this slot is invoked. It simply calls the static <a href="ntqfontdialog.html#getFont">TQFontDialog::getFont</a>() function to obtain the user's choice of font. If they chose a font we call our setFont() slot which will present a textual description of the font in the font label. -<p> <pre> void OptionsForm::<a href="ntqwidget.html#setFont">setFont</a>( <a href="ntqfont.html">TQFont</a> font ) +<p> <pre> void OptionsForm::<a href="tqwidget.html#setFont">setFont</a>( <a href="ntqfont.html">TQFont</a> font ) { <a name="x2635"></a> <a href="ntqstring.html">TQString</a> label = font.<a href="ntqfont.html#family">family</a>() + " " + <a name="x2637"></a> TQString::<a href="ntqstring.html#number">number</a>( font.<a href="ntqfont.html#pointSize">pointSize</a>() ) + "pt"; |