summaryrefslogtreecommitdiffstats
path: root/doc/shclass.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/shclass.doc')
-rw-r--r--doc/shclass.doc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/shclass.doc b/doc/shclass.doc
index 192369c74..40cbc199d 100644
--- a/doc/shclass.doc
+++ b/doc/shclass.doc
@@ -195,7 +195,7 @@ 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.
The same is true for \l TQImage, which does not inherit TQMemArray. \l
-QMovie is also explicitly shared, but it does not support detach() or
+TQMovie is also explicitly shared, but it does not support detach() or
copy().
\section1 Implicitly Shared Classes
@@ -203,11 +203,11 @@ copy().
The TQt classes that are implicitly shared are:
\list
\i \l TQBitmap
-\i \l QBrush
+\i \l TQBrush
\i \l QCursor
-\i \l QFont
-\i \l QFontInfo
-\i \l QFontMetrics
+\i \l TQFont
+\i \l TQFontInfo
+\i \l TQFontMetrics
\i \l TQIconSet
\i \l TQMap
\i \l QPalette
@@ -235,13 +235,13 @@ Example:
QPixmap p1, p2;
p1.load( "image.bmp" );
p2 = p1; // p1 and p2 share data
- QPainter paint;
+ TQPainter paint;
paint.begin( &p2 ); // cuts p2 loose from p1
paint.drawText( 0,50, "Hi" );
paint.end();
\endcode
-In this example, \c p1 and \c p2 share data until QPainter::begin() is
+In this example, \c p1 and \c p2 share data until TQPainter::begin() is
called for \c p2, because painting a pixmap will modify it. The same
also happens if anything is \link ::bitBlt() bitBlt()\endlink'ed into
\c p2.