summaryrefslogtreecommitdiffstats
path: root/doc/shclass.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/shclass.doc
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt-a30f5359.tar.gz
tqt-a30f5359.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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.