diff options
Diffstat (limited to 'doc/html/cursor-example.html')
-rw-r--r-- | doc/html/cursor-example.html | 22 |
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 <<a href="qlabel-h.html">ntqlabel.h</a>> +#include <<a href="tqlabel-h.html">tqlabel.h</a>> #include <<a href="tqbitmap-h.html">tqbitmap.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> @@ -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<4; y++ ) { // create the small labels for ( int x=0; x<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-><a href="tqwidget.html#setCursor">setCursor</a>( TQCursor( list[i].shape ) ); -<a name="x1119"></a> label-><a href="ntqlabel.html#setText">setText</a>( list[i].name ); -<a name="x1118"></a> label-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); +<a name="x1119"></a> label-><a href="tqlabel.html#setText">setText</a>( list[i].name ); +<a name="x1118"></a> label-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); <a name="x1115"></a> label-><a href="ntqframe.html#setMargin">setMargin</a>( 10 ); <a name="x1114"></a> label-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised ); grid-><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-><a href="tqwidget.html#setCursor">setCursor</a>( TQCursor( list[i].shape ) ); - label-><a href="ntqlabel.html#setText">setText</a>( list[i].name ); - label-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); + label-><a href="tqlabel.html#setText">setText</a>( list[i].name ); + label-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); label-><a href="ntqframe.html#setMargin">setMargin</a>( 10 ); label-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised ); grid-><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-><a href="tqwidget.html#setCursor">setCursor</a>( custom ); - label-><a href="ntqlabel.html#setText">setText</a>( "Custom bitmap cursor" ); - label-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); + label-><a href="tqlabel.html#setText">setText</a>( "Custom bitmap cursor" ); + label-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); label-><a href="ntqframe.html#setMargin">setMargin</a>( 10 ); label-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Sunken ); <a name="x1116"></a> grid-><a href="qgridlayout.html#addMultiCellWidget">addMultiCellWidget</a>( label, 4, 4, 1, 3 ); |