summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-08.html
diff options
context:
space:
mode:
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()