diff options
Diffstat (limited to 'doc/html/shclass.html')
-rw-r--r-- | doc/html/shclass.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/shclass.html b/doc/html/shclass.html index eba64fcf6..bf8d201b4 100644 --- a/doc/html/shclass.html +++ b/doc/html/shclass.html @@ -169,18 +169,18 @@ explicitly shared: <p> These classes have a detach() function that can be called if you want your object to get a private copy of the shared data. They also have a copy() function that returns a deep copy with a reference count of 1. -<p> The same is true for <a href="tqimage.html">TQImage</a>, which does not inherit TQMemArray. <a href="ntqmovie.html">TQMovie</a> is also explicitly shared, but it does not support detach() or +<p> The same is true for <a href="tqimage.html">TQImage</a>, which does not inherit TQMemArray. <a href="tqmovie.html">TQMovie</a> is also explicitly shared, but it does not support detach() or copy(). <p> <h2> Implicitly Shared Classes </h2> <a name="5"></a><p> The TQt classes that are implicitly shared are: <ul> <li> <a href="tqbitmap.html">TQBitmap</a> -<li> <a href="ntqbrush.html">TQBrush</a> +<li> <a href="tqbrush.html">TQBrush</a> <li> <a href="ntqcursor.html">TQCursor</a> -<li> <a href="ntqfont.html">TQFont</a> -<li> <a href="ntqfontinfo.html">TQFontInfo</a> -<li> <a href="ntqfontmetrics.html">TQFontMetrics</a> +<li> <a href="tqfont.html">TQFont</a> +<li> <a href="tqfontinfo.html">TQFontInfo</a> +<li> <a href="tqfontmetrics.html">TQFontMetrics</a> <li> <a href="tqiconset.html">TQIconSet</a> <li> <a href="tqmap.html">TQMap</a> <li> <a href="ntqpalette.html">TQPalette</a> @@ -206,13 +206,13 @@ functions by value without concern for the copying overhead. <a href="ntqpixmap.html">TQPixmap</a> p1, p2; p1.<a href="ntqpixmap.html#load">load</a>( "image.bmp" ); p2 = p1; // p1 and p2 share data - <a href="ntqpainter.html">TQPainter</a> paint; - paint.<a href="ntqpainter.html#begin">begin</a>( &p2 ); // cuts p2 loose from p1 - paint.<a href="ntqpainter.html#drawText">drawText</a>( 0,50, "Hi" ); - paint.<a href="ntqpainter.html#end">end</a>(); + <a href="tqpainter.html">TQPainter</a> paint; + paint.<a href="tqpainter.html#begin">begin</a>( &p2 ); // cuts p2 loose from p1 + paint.<a href="tqpainter.html#drawText">drawText</a>( 0,50, "Hi" ); + paint.<a href="tqpainter.html#end">end</a>(); </pre> -<p> In this example, <tt>p1</tt> and <tt>p2</tt> share data until <a href="ntqpainter.html#begin">TQPainter::begin</a>() is +<p> In this example, <tt>p1</tt> and <tt>p2</tt> share data until <a href="tqpainter.html#begin">TQPainter::begin</a>() is called for <tt>p2</tt>, because painting a pixmap will modify it. The same also happens if anything is <a href="tqimage.html#bitBlt">bitBlt()</a>'ed into <tt>p2</tt>. |