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.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/tutorial2-08.html b/doc/html/tutorial2-08.html
index 210da5231..5feb2b199 100644
--- a/doc/html/tutorial2-08.html
+++ b/doc/html/tutorial2-08.html
@@ -65,8 +65,8 @@ enter label text and choose a label color for each label.
<a href="tqpushbutton.html">TQPushButton</a> *cancelPushButton;
protected:
- <a href="qvboxlayout.html">TQVBoxLayout</a> *tableButtonBox;
- <a href="qhboxlayout.html">TQHBoxLayout</a> *buttonBox;
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *tableButtonBox;
+ <a href="tqhboxlayout.html">TQHBoxLayout</a> *buttonBox;
private:
ElementVector *m_elements;
@@ -104,7 +104,7 @@ member functions.
<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" );
+<p> <pre> tableButtonBox = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( this, 11, 6, "table button box layout" );
</pre>
<p> The layout of the form is quite simple. The buttons will be grouped
together in a horizontal layout and the table and the button layout
@@ -126,7 +126,7 @@ will be grouped together vertically using the tableButtonBox layout.
th-&gt;<a href="tqheader.html#setLabel">setLabel</a>( 2, "Pattern" );
th-&gt;<a href="tqheader.html#setLabel">setLabel</a>( 3, "Label" );
th-&gt;<a href="tqheader.html#setLabel">setLabel</a>( 4, "Color" );
- tableButtonBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( table );
+ tableButtonBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( table );
</pre>
<p> We create a new <a href="tqtable.html">TQTable</a> with five columns, and the same number of rows
as we have elements in the elements vector. We make the color and
@@ -136,37 +136,37 @@ navigating to a color and clicking the Color button. The pattern will
be in a combobox, changeable simply by the user selecting a different
pattern. Next we set suitable initial widths, insert labels for each
column and finally add the table to the tableButtonBox layout.
-<p> <pre> buttonBox = new <a href="qhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6, "button box layout" );
+<p> <pre> buttonBox = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6, "button box layout" );
</pre>
<p> We create a horizontal box layout to hold the buttons.
<p> <pre> colorPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( this, "color button" );
<a name="x2598"></a> colorPushButton-&gt;<a href="tqbutton.html#setText">setText</a>( "&amp;Color..." );
colorPushButton-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
- buttonBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( colorPushButton );
+ buttonBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( colorPushButton );
</pre>
<p> We create a color button and add it to the buttonBox layout. We
disable the button; we will only enable it when the focus is actually
on a color cell.
-<p> <pre> <a href="qspaceritem.html">TQSpacerItem</a> *spacer = new <a href="qspaceritem.html">TQSpacerItem</a>( 0, 0, TQSizePolicy::Expanding,
+<p> <pre> <a href="tqspaceritem.html">TQSpacerItem</a> *spacer = new <a href="tqspaceritem.html">TQSpacerItem</a>( 0, 0, TQSizePolicy::Expanding,
TQSizePolicy::Minimum );
- <a name="x2593"></a> buttonBox-&gt;<a href="qboxlayout.html#addItem">addItem</a>( spacer );
+ <a name="x2593"></a> buttonBox-&gt;<a href="tqboxlayout.html#addItem">addItem</a>( spacer );
</pre>
<p> Since we want to separate the color button from the OK and Cancel
buttons we next create a spacer and add that to the buttonBox layout.
<p> <pre> okPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( this, "ok button" );
okPushButton-&gt;<a href="tqbutton.html#setText">setText</a>( "OK" );
<a name="x2607"></a> okPushButton-&gt;<a href="tqpushbutton.html#setDefault">setDefault</a>( TRUE );
- buttonBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( okPushButton );
+ buttonBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( okPushButton );
cancelPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( this, "cancel button" );
cancelPushButton-&gt;<a href="tqbutton.html#setText">setText</a>( "Cancel" );
<a name="x2597"></a> cancelPushButton-&gt;<a href="tqbutton.html#setAccel">setAccel</a>( Key_Escape );
- buttonBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( cancelPushButton );
+ buttonBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( cancelPushButton );
</pre>
<p> The OK and Cancel buttons are created and added to the buttonBox. We
make the OK button the dialog's default button, and we make the <tt>Esc</tt>
key an accelerator for the Cancel button.
-<p> <pre> <a name="x2594"></a> tableButtonBox-&gt;<a href="qboxlayout.html#addLayout">addLayout</a>( buttonBox );
+<p> <pre> <a name="x2594"></a> tableButtonBox-&gt;<a href="tqboxlayout.html#addLayout">addLayout</a>( buttonBox );
</pre>
<p> We add the buttonBox layout to the tableButtonBox and the layout is
complete.