diff options
Diffstat (limited to 'doc/html/tutorial2-08.html')
-rw-r--r-- | doc/html/tutorial2-08.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial2-08.html b/doc/html/tutorial2-08.html index ba69ea915..da9766384 100644 --- a/doc/html/tutorial2-08.html +++ b/doc/html/tutorial2-08.html @@ -170,7 +170,7 @@ key an accelerator for the Cancel button. </pre> <p> We add the buttonBox layout to the tableButtonBox and the layout is complete. -<p> <pre> <a name="x2612"></a> <a href="tqobject.html#connect">connect</a>( table, TQ_SIGNAL( <a href="ntqtable.html#clicked">clicked</a>(int,int,int,const <a href="ntqpoint.html">TQPoint</a>&) ), +<p> <pre> <a name="x2612"></a> <a href="tqobject.html#connect">connect</a>( table, TQ_SIGNAL( <a href="ntqtable.html#clicked">clicked</a>(int,int,int,const <a href="tqpoint.html">TQPoint</a>&) ), this, TQ_SLOT( setColor(int,int) ) ); <a name="x2613"></a> <a href="tqobject.html#connect">connect</a>( table, TQ_SIGNAL( <a href="ntqtable.html#currentChanged">currentChanged</a>(int,int) ), this, TQ_SLOT( currentChanged(int,int) ) ); @@ -202,8 +202,8 @@ requires no further code or action on our part. patterns[1] = TQPixmap( pattern02 ); </pre> <p> We create a pixmap for every brush pattern and store them in the <tt>patterns</tt> array. -<p> <pre> <a name="x2610"></a> <a href="ntqrect.html">TQRect</a> rect = table-><a href="ntqtable.html#cellRect">cellRect</a>( 0, 1 ); - <a href="ntqpixmap.html">TQPixmap</a> pix( rect.<a href="ntqrect.html#width">width</a>(), rect.<a href="ntqrect.html#height">height</a>() ); +<p> <pre> <a name="x2610"></a> <a href="tqrect.html">TQRect</a> rect = table-><a href="ntqtable.html#cellRect">cellRect</a>( 0, 1 ); + <a href="tqpixmap.html">TQPixmap</a> pix( rect.<a href="tqrect.html#width">width</a>(), rect.<a href="tqrect.html#height">height</a>() ); </pre> <p> We obtain the rectangle that will be occupied by each color cell and create a blank pixmap of that size. @@ -217,7 +217,7 @@ create a blank pixmap of that size. m_decimalPlaces ) ); <a href="tqcolor.html">TQColor</a> color = element.valueColor(); - pix.<a href="ntqpixmap.html#fill">fill</a>( color ); + pix.<a href="tqpixmap.html#fill">fill</a>( color ); table-><a href="ntqtable.html#setPixmap">setPixmap</a>( i, 1, pix ); table-><a href="ntqtable.html#setText">setText</a>( i, 1, color.<a href="tqcolor.html#name">name</a>() ); @@ -230,7 +230,7 @@ create a blank pixmap of that size. table-><a href="ntqtable.html#setText">setText</a>( i, 3, element.label() ); color = element.labelColor(); - <a name="x2606"></a> pix.<a href="ntqpixmap.html#fill">fill</a>( color ); + <a name="x2606"></a> pix.<a href="tqpixmap.html#fill">fill</a>( color ); <a name="x2623"></a> table-><a href="ntqtable.html#setPixmap">setPixmap</a>( i, 4, pix ); <a name="x2624"></a><a name="x2600"></a> table-><a href="ntqtable.html#setText">setText</a>( i, 4, color.<a href="tqcolor.html#name">name</a>() ); </pre> @@ -294,8 +294,8 @@ function and put the focus back into the table. TQColor( table-><a href="ntqtable.html#text">text</a>( row, col ) ), this, "color dialog" ); <a name="x2599"></a> if ( color.<a href="tqcolor.html#isValid">isValid</a>() ) { - <a name="x2617"></a> <a href="ntqpixmap.html">TQPixmap</a> pix = table-><a href="ntqtable.html#pixmap">pixmap</a>( row, col ); - pix.<a href="ntqpixmap.html#fill">fill</a>( color ); + <a name="x2617"></a> <a href="tqpixmap.html">TQPixmap</a> pix = table-><a href="ntqtable.html#pixmap">pixmap</a>( row, col ); + pix.<a href="tqpixmap.html#fill">fill</a>( color ); table-><a href="ntqtable.html#setPixmap">setPixmap</a>( row, col, pix ); table-><a href="ntqtable.html#setText">setText</a>( row, col, color.<a href="tqcolor.html#name">name</a>() ); } |