summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-08.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:07:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:22:42 +0900
commit8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch)
treeb95884617b9a37accc843676d5d42be4116a3f54 /doc/html/tutorial2-08.html
parent68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff)
downloadtqt-8ac0e970.tar.gz
tqt-8ac0e970.zip
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial2-08.html')
-rw-r--r--doc/html/tutorial2-08.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial2-08.html b/doc/html/tutorial2-08.html
index 3287a1f0b..05fb03c07 100644
--- a/doc/html/tutorial2-08.html
+++ b/doc/html/tutorial2-08.html
@@ -45,7 +45,7 @@ enter label text and choose a label color for each label.
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
SetDataForm( ElementVector *elements, int decimalPlaces,
- <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = "set data form",
+ <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = "set data form",
bool modal = TRUE, WFlags f = 0 );
~SetDataForm() {}
@@ -88,7 +88,7 @@ TQt supports. We'll use these in the pattern combobox.
<p> <h2> The Constructor
</h2>
<a name="1"></a><p> <pre> SetDataForm::SetDataForm( ElementVector *elements, int decimalPlaces,
- <a href="ntqwidget.html">TQWidget</a>* parent, const char* name,
+ <a href="tqwidget.html">TQWidget</a>* parent, const char* name,
bool modal, WFlags f )
: <a href="ntqdialog.html">TQDialog</a>( parent, name, modal, f )
@@ -100,8 +100,8 @@ TQt supports. We'll use these in the pattern combobox.
elements vector pointer and the number of decimal places to display to
member variables so that they are accessible by all SetDataForm's
member functions.
-<p> <pre> <a href="ntqwidget.html#setCaption">setCaption</a>( "Chart -- Set Data" );
- <a href="ntqwidget.html#resize">resize</a>( 540, 440 );
+<p> <pre> <a href="tqwidget.html#setCaption">setCaption</a>( "Chart -- Set Data" );
+ <a href="tqwidget.html#resize">resize</a>( 540, 440 );
</pre>
<p> We set a caption for the dialog and resize it.
<p> <pre> tableButtonBox = new <a href="qvboxlayout.html">TQVBoxLayout</a>( this, 11, 6, "table button box layout" );
@@ -141,7 +141,7 @@ column and finally add the table to the tableButtonBox layout.
<p> We create a horizontal box layout to hold the buttons.
<p> <pre> colorPushButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this, "color button" );
<a name="x2598"></a> colorPushButton-&gt;<a href="ntqbutton.html#setText">setText</a>( "&amp;Color..." );
- colorPushButton-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ colorPushButton-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
buttonBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( colorPushButton );
</pre>
<p> We create a color button and add it to the buttonBox layout. We
@@ -255,7 +255,7 @@ the same way as we set the value color.
</h2>
<a name="2"></a><p> <pre> void SetDataForm::currentChanged( int, int col )
{
- colorPushButton-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( col == 1 || col == 4 );
+ colorPushButton-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( col == 1 || col == 4 );
}
</pre>
<p> As the user navigates through the table currentChanged() signals are
@@ -280,7 +280,7 @@ number of decimal places, or indicate that it is invalid.
<p> <pre> void SetDataForm::setColor()
{
<a name="x2615"></a><a name="x2614"></a> setColor( table-&gt;<a href="ntqtable.html#currentRow">currentRow</a>(), table-&gt;<a href="ntqtable.html#currentColumn">currentColumn</a>() );
- table-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
+ table-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
}
</pre>
<p> If the user presses the Color button we call the other setColor()