summaryrefslogtreecommitdiffstats
path: root/doc/html/cursor-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/cursor-example.html')
-rw-r--r--doc/html/cursor-example.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/cursor-example.html b/doc/html/cursor-example.html
index b6769df14..1ade74bb7 100644
--- a/doc/html/cursor-example.html
+++ b/doc/html/cursor-example.html
@@ -46,7 +46,7 @@ This example shows how to set a mouse cursor for a widget.
**
*****************************************************************************/
-#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="tqbitmap-h.html">tqbitmap.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
@@ -130,15 +130,15 @@ CursorView::CursorView() // construct view
setCaption( "CursorView" ); // set window caption
<a href="qgridlayout.html">TQGridLayout</a>* grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 5, 4, 20 );
- <a href="ntqlabel.html">TQLabel</a> *label;
+ <a href="tqlabel.html">TQLabel</a> *label;
int i=0;
for ( int y=0; y&lt;4; y++ ) { // create the small labels
for ( int x=0; x&lt;4; x++ ) {
- label = new <a href="ntqlabel.html">TQLabel</a>( this );
+ label = new <a href="tqlabel.html">TQLabel</a>( this );
<a name="x1121"></a> label-&gt;<a href="tqwidget.html#setCursor">setCursor</a>( TQCursor( list[i].shape ) );
-<a name="x1119"></a> label-&gt;<a href="ntqlabel.html#setText">setText</a>( list[i].name );
-<a name="x1118"></a> label-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
+<a name="x1119"></a> label-&gt;<a href="tqlabel.html#setText">setText</a>( list[i].name );
+<a name="x1118"></a> label-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
<a name="x1115"></a> label-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 10 );
<a name="x1114"></a> label-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( label, x, y );
@@ -147,10 +147,10 @@ CursorView::CursorView() // construct view
}
- label = new <a href="ntqlabel.html">TQLabel</a>( this );
+ label = new <a href="tqlabel.html">TQLabel</a>( this );
label-&gt;<a href="tqwidget.html#setCursor">setCursor</a>( TQCursor( list[i].shape ) );
- label-&gt;<a href="ntqlabel.html#setText">setText</a>( list[i].name );
- label-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
+ label-&gt;<a href="tqlabel.html#setText">setText</a>( list[i].name );
+ label-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
label-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 10 );
label-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( label, 4, 0 );
@@ -161,10 +161,10 @@ CursorView::CursorView() // construct view
<a href="tqbitmap.html">TQBitmap</a> cm( cm_width, cm_height, cm_bits, TRUE );
<a href="ntqcursor.html">TQCursor</a> custom( cb, cm ); // create bitmap cursor
- label = new <a href="ntqlabel.html">TQLabel</a>( this ); // create the big label
+ label = new <a href="tqlabel.html">TQLabel</a>( this ); // create the big label
label-&gt;<a href="tqwidget.html#setCursor">setCursor</a>( custom );
- label-&gt;<a href="ntqlabel.html#setText">setText</a>( "Custom bitmap cursor" );
- label-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
+ label-&gt;<a href="tqlabel.html#setText">setText</a>( "Custom bitmap cursor" );
+ label-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
label-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 10 );
label-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Sunken );
<a name="x1116"></a> grid-&gt;<a href="qgridlayout.html#addMultiCellWidget">addMultiCellWidget</a>( label, 4, 4, 1, 3 );