summaryrefslogtreecommitdiffstats
path: root/doc/porting3.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-20 20:15:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/porting3.doc
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/porting3.doc')
-rw-r--r--doc/porting3.doc36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/porting3.doc b/doc/porting3.doc
index c6c1af973..3da5dab47 100644
--- a/doc/porting3.doc
+++ b/doc/porting3.doc
@@ -112,7 +112,7 @@ Header files that you might need to add #include directives for include:
\list
\i \c <ntqcursor.h>
\i \c <tqpainter.h>
-\i \c <ntqpen.h>
+\i \c <tqpen.h>
\i \c <tqstringlist.h>
\i \c <tqregexp.h>
\i \c <tqstrlist.h>
@@ -206,9 +206,9 @@ All these functions have been removed in TQt 3.x:
\i TQMenuBar::setWindowsAltMode()
\i TQObject::initMetaObject()
\i TQPainter::drawQuadBezier()
-\i QPalette::normal(). Use TQPalette::active() instead.
-\i QPalette::setNormal(). Use TQPalette::setActive() instead.
-\i QPointArray::quadBezier()
+\i TQPalette::normal(). Use TQPalette::active() instead.
+\i TQPalette::setNormal(). Use TQPalette::setActive() instead.
+\i TQPointArray::quadBezier()
\i TQRegExp::find()
\i TQSignal::block(bool b)
\i TQSignal::isBlocked() const
@@ -258,7 +258,7 @@ new code.
\i TQCanvasItem::enabled() const
\i TQCanvasItem::selected() const
\i TQCanvasItem::visible() const
-\i TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList\<QPixmap\> list, TQPtrList\<QPoint\> hotspots )
+\i TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList\<TQPixmap\> list, TQPtrList\<TQPoint\> hotspots )
\i TQCanvasPixmapArray::operator!()
\i TQColorGroup::TQColorGroup( const TQColor \& foreground, const TQColor \& background, const TQColor \& light, const TQColor \& dark, const TQColor \& mid, const TQColor \& text, const TQColor \& base )
\i QComboBox::autoResize() const
@@ -317,7 +317,7 @@ new code.
\i TQRegExp::match( const TQString \& str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
\i QScrollView::childIsVisible( TQWidget *child )
\i QScrollView::showChild( TQWidget *child, bool show = TRUE )
-\i QSimpleRichText::draw( TQPainter *p, int x, int y, const QRegion \& clipRegion, const TQColorGroup \& cg, const TQBrush *paper = 0 ) const
+\i QSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion \& clipRegion, const TQColorGroup \& cg, const TQBrush *paper = 0 ) const
\i TQString::ascii() const
\i TQString::data() const
\i TQString::setExpand( uint index, TQChar c )
@@ -340,9 +340,9 @@ new code.
\i TQWidget::backgroundPixmap() const
\i TQWidget::iconify()
\i TQWidget::setBackgroundColor( const TQColor \& c )
-\i TQWidget::setBackgroundPixmap( const QPixmap \& pm )
+\i TQWidget::setBackgroundPixmap( const TQPixmap \& pm )
\i TQWidget::setFont( const TQFont \& f, bool )
-\i TQWidget::setPalette( const QPalette \& p, bool )
+\i TQWidget::setPalette( const TQPalette \& p, bool )
\i QWizard::setFinish( TQWidget *, bool )
\i TQXmlInputSource::TQXmlInputSource( TQFile \& file )
\i TQXmlInputSource::TQXmlInputSource( TQTextStream \& stream )
@@ -496,18 +496,18 @@ need to keep compatibility with the old QMultiLineEdit, simply include
this class in your project and rename QMultiLineEdit to
QtMultiLineEdit throughout.
-\section1 QPrinter
+\section1 TQPrinter
-QPrinter has undergone some changes, to make it more flexible and
+TQPrinter has undergone some changes, to make it more flexible and
to ensure it has the same runtime behaviour on both Unix and Windows. In 2.x,
-QPrinter behaved differently on Windows and Unix, when using view
-transformations on the TQPainter. This has changed now, and QPrinter
+TQPrinter behaved differently on Windows and Unix, when using view
+transformations on the TQPainter. This has changed now, and TQPrinter
behaves consistently across all platforms. A compatibilty mode has been
added that forces the old behaviour, to ease porting from TQt 2.x
to TQt 3.x. This compatibilty mode can be enabled by passing the
-QPrinter::Compatible flag to the QPrinter constructor.
+TQPrinter::Compatible flag to the TQPrinter constructor.
-On X11, QPrinter used to generate encapsulated postscript when
+On X11, TQPrinter used to generate encapsulated postscript when
fullPage() was TRUE and only one page was printed. This does not
happen by default anymore, providing a more consistent printing output.
@@ -775,14 +775,14 @@ are QCheckBox, QComboBox, QPushButton, QRadioButton and QTabWidget.
\section1 Bezier Curves
-The function names for Bezier curves in TQPainter and QPointArray have
+The function names for Bezier curves in TQPainter and TQPointArray have
been corrected. They now properly reflect their cubic form instead of
a quadratic one. If you have been using either
-TQPainter::drawQuadBezier() or QPointArray::quadBezier() you must
+TQPainter::drawQuadBezier() or TQPointArray::quadBezier() you must
replace these calls with
\list
-\i void TQPainter::drawCubicBezier( const QPointArray \&, int index=0 ) and
-\i QPointArray QPointArray::cubicBezier() const
+\i void TQPainter::drawCubicBezier( const TQPointArray \&, int index=0 ) and
+\i TQPointArray TQPointArray::cubicBezier() const
\endlist
respectively. Neither the arguments nor the resulting curve have changed.