summaryrefslogtreecommitdiffstats
path: root/doc/html/layout-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/layout-example.html')
-rw-r--r--doc/html/layout-example.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/layout-example.html b/doc/html/layout-example.html
index 89a7ccee6..272713f50 100644
--- a/doc/html/layout-example.html
+++ b/doc/html/layout-example.html
@@ -48,7 +48,7 @@ classes, <a href="qgridlayout.html">TQGridLayout</a>, <a href="qboxlayout.html">
*****************************************************************************/
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
-#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
+#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="tqcolor-h.html">tqcolor.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
@@ -148,7 +148,7 @@ public:
// Make a label that is a buddy of the line edit
<a href="tqstring.html">TQString</a> s;
s.<a href="tqstring.html#sprintf">sprintf</a>( "Line &amp;%d", row+1 );
- <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>( ed, s, this );
+ <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>( ed, s, this );
// The label goes in the first column.
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( label, row, labelCol );
}
@@ -166,15 +166,15 @@ public:
grid-&gt;<a href="qgridlayout.html#setColStretch">setColStretch</a>( multiCol, 20 );
// Add a widget at the bottom.
- <a href="ntqlabel.html">TQLabel</a>* sb = new <a href="ntqlabel.html">TQLabel</a>( this );
- sb-&gt;<a href="ntqlabel.html#setText">setText</a>( "Let's pretend this is a status bar" );
+ <a href="tqlabel.html">TQLabel</a>* sb = new <a href="tqlabel.html">TQLabel</a>( this );
+ sb-&gt;<a href="tqlabel.html#setText">setText</a>( "Let's pretend this is a status bar" );
sb-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
// This widget will use all horizontal space, and have a fixed height.
// we should have made a subclass and implemented sizePolicy there...
<a name="x545"></a><a name="x537"></a> sb-&gt;<a href="tqwidget.html#setFixedHeight">setFixedHeight</a>( sb-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().height() );
-<a name="x535"></a> sb-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignVCenter | AlignLeft );
+<a name="x535"></a> sb-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignVCenter | AlignLeft );
topLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( sb );
<a name="x538"></a> topLayout-&gt;<a href="ntqlayout.html#activate">activate</a>();