diff options
Diffstat (limited to 'doc/html/porting.html')
-rw-r--r-- | doc/html/porting.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html index 9f99675c2..0a2fde36e 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -171,7 +171,7 @@ the top of the file giving the error. <p> Header files that you might need to add #include directives for include: <ul> <li> <tt><ntqcursor.h></tt> -<li> <tt><ntqpainter.h></tt> +<li> <tt><tqpainter.h></tt> <li> <tt><ntqpen.h></tt> <li> <tt><tqstringlist.h></tt> <li> <tt><tqregexp.h></tt> @@ -307,7 +307,7 @@ new code. <li> <a href="tqcanvasitem.html#visible">TQCanvasItem::visible</a>() const <li> <a href="tqcanvaspixmaparray.html#TQCanvasPixmapArray">TQCanvasPixmapArray::TQCanvasPixmapArray</a>( <a href="tqptrlist.html">TQPtrList</a><TQPixmap> list, TQPtrList<TQPoint> hotspots ) <li> <a href="tqcanvaspixmaparray.html#operator!">TQCanvasPixmapArray::operator!</a>() -<li> <a href="qcolorgroup.html#TQColorGroup">TQColorGroup::TQColorGroup</a>( const <a href="ntqcolor.html">TQColor</a> & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) +<li> <a href="tqcolorgroup.html#TQColorGroup">TQColorGroup::TQColorGroup</a>( const <a href="tqcolor.html">TQColor</a> & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) <li> <a href="ntqcombobox.html#autoResize">TQComboBox::autoResize</a>() const <li> <a href="ntqcombobox.html#setAutoResize">TQComboBox::setAutoResize</a>( bool ) <li> <a href="tqdate.html#dayName">TQDate::dayName</a>( int weekday ) @@ -318,21 +318,21 @@ new code. <li> <a href="ntqdockwindow.html#isVerticalStretchable">TQDockWindow::isVerticalStretchable</a>() const <li> <a href="ntqdockwindow.html#setHorizontalStretchable">TQDockWindow::setHorizontalStretchable</a>( bool b ) <li> <a href="ntqdockwindow.html#setVerticalStretchable">TQDockWindow::setVerticalStretchable</a>( bool b ) -<li> <a href="ntqfont.html#defaultFont">TQFont::defaultFont</a>() -<li> <a href="ntqfont.html#setDefaultFont">TQFont::setDefaultFont</a>( const <a href="ntqfont.html">TQFont</a> & f ) -<li> <a href="ntqfont.html#setPixelSizeFloat">TQFont::setPixelSizeFloat</a>( float pixelSize ) -<li> <a href="ntqfontdatabase.html#bold">TQFontDatabase::bold</a>( const TQString & family, const TQString & style, const <a href="tqstring.html">TQString</a> & ) const -<li> <a href="ntqfontdatabase.html#families">TQFontDatabase::families</a>( bool ) const -<li> <a href="ntqfontdatabase.html#font">TQFontDatabase::font</a>( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) -<li> <a href="ntqfontdatabase.html#isBitmapScalable">TQFontDatabase::isBitmapScalable</a>( const TQString & family, const TQString & style, const TQString & ) const -<li> <a href="ntqfontdatabase.html#isFixedPitch">TQFontDatabase::isFixedPitch</a>( const TQString & family, const TQString & style, const TQString & ) const -<li> <a href="ntqfontdatabase.html#isScalable">TQFontDatabase::isScalable</a>( const TQString & family, const TQString & style, const TQString & ) const -<li> <a href="ntqfontdatabase.html#isSmoothlyScalable">TQFontDatabase::isSmoothlyScalable</a>( const TQString & family, const TQString & style, const TQString & ) const -<li> <a href="ntqfontdatabase.html#italic">TQFontDatabase::italic</a>( const <a href="tqstring.html">TQString</a> & family, const TQString & style, const TQString & ) const -<li> <a href="ntqfontdatabase.html#pointSizes">TQFontDatabase::pointSizes</a>( const TQString & family, const TQString & style, const TQString & ) -<li> <a href="ntqfontdatabase.html#smoothSizes">TQFontDatabase::smoothSizes</a>( const TQString & family, const TQString & style, const TQString & ) -<li> <a href="ntqfontdatabase.html#styles">TQFontDatabase::styles</a>( const TQString & family, const TQString & ) const -<li> <a href="ntqfontdatabase.html#weight">TQFontDatabase::weight</a>( const TQString & family, const TQString & style, const TQString & ) const +<li> <a href="tqfont.html#defaultFont">TQFont::defaultFont</a>() +<li> <a href="tqfont.html#setDefaultFont">TQFont::setDefaultFont</a>( const <a href="tqfont.html">TQFont</a> & f ) +<li> <a href="tqfont.html#setPixelSizeFloat">TQFont::setPixelSizeFloat</a>( float pixelSize ) +<li> <a href="tqfontdatabase.html#bold">TQFontDatabase::bold</a>( const TQString & family, const TQString & style, const <a href="tqstring.html">TQString</a> & ) const +<li> <a href="tqfontdatabase.html#families">TQFontDatabase::families</a>( bool ) const +<li> <a href="tqfontdatabase.html#font">TQFontDatabase::font</a>( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) +<li> <a href="tqfontdatabase.html#isBitmapScalable">TQFontDatabase::isBitmapScalable</a>( const TQString & family, const TQString & style, const TQString & ) const +<li> <a href="tqfontdatabase.html#isFixedPitch">TQFontDatabase::isFixedPitch</a>( const TQString & family, const TQString & style, const TQString & ) const +<li> <a href="tqfontdatabase.html#isScalable">TQFontDatabase::isScalable</a>( const TQString & family, const TQString & style, const TQString & ) const +<li> <a href="tqfontdatabase.html#isSmoothlyScalable">TQFontDatabase::isSmoothlyScalable</a>( const TQString & family, const TQString & style, const TQString & ) const +<li> <a href="tqfontdatabase.html#italic">TQFontDatabase::italic</a>( const <a href="tqstring.html">TQString</a> & family, const TQString & style, const TQString & ) const +<li> <a href="tqfontdatabase.html#pointSizes">TQFontDatabase::pointSizes</a>( const TQString & family, const TQString & style, const TQString & ) +<li> <a href="tqfontdatabase.html#smoothSizes">TQFontDatabase::smoothSizes</a>( const TQString & family, const TQString & style, const TQString & ) +<li> <a href="tqfontdatabase.html#styles">TQFontDatabase::styles</a>( const TQString & family, const TQString & ) const +<li> <a href="tqfontdatabase.html#weight">TQFontDatabase::weight</a>( const TQString & family, const TQString & style, const TQString & ) const <li> <a href="ntqlabel.html#autoResize">TQLabel::autoResize</a>() const <li> <a href="ntqlabel.html#setAutoResize">TQLabel::setAutoResize</a>( bool enable ) <li> <a href="ntqlistbox.html#cellHeight">TQListBox::cellHeight</a>( int i ) const @@ -364,7 +364,7 @@ new code. <li> <a href="tqregexp.html#match">TQRegExp::match</a>( const TQString & str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const <li> <a href="ntqscrollview.html#childIsVisible">TQScrollView::childIsVisible</a>( TQWidget *child ) <li> <a href="ntqscrollview.html#showChild">TQScrollView::showChild</a>( TQWidget *child, bool show = TRUE ) -<li> <a href="ntqsimplerichtext.html#draw">TQSimpleRichText::draw</a>( <a href="ntqpainter.html">TQPainter</a> *p, int x, int y, const <a href="ntqregion.html">TQRegion</a> & clipRegion, const <a href="qcolorgroup.html">TQColorGroup</a> & cg, const <a href="ntqbrush.html">TQBrush</a> *paper = 0 ) const +<li> <a href="ntqsimplerichtext.html#draw">TQSimpleRichText::draw</a>( <a href="tqpainter.html">TQPainter</a> *p, int x, int y, const <a href="ntqregion.html">TQRegion</a> & clipRegion, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, const <a href="tqbrush.html">TQBrush</a> *paper = 0 ) const <li> <a href="tqstring.html#ascii">TQString::ascii</a>() const <li> <a href="tqstring.html#data">TQString::data</a>() const <li> <a href="tqstring.html#setExpand">TQString::setExpand</a>( uint index, <a href="qchar.html">TQChar</a> c ) @@ -386,9 +386,9 @@ new code. <li> <a href="tqwidget.html#backgroundColor">TQWidget::backgroundColor</a>() const <li> <a href="tqwidget.html#backgroundPixmap">TQWidget::backgroundPixmap</a>() const <li> <a href="tqwidget.html#iconify">TQWidget::iconify</a>() -<li> <a href="tqwidget.html#setBackgroundColor">TQWidget::setBackgroundColor</a>( const <a href="ntqcolor.html">TQColor</a> & c ) +<li> <a href="tqwidget.html#setBackgroundColor">TQWidget::setBackgroundColor</a>( const <a href="tqcolor.html">TQColor</a> & c ) <li> <a href="tqwidget.html#setBackgroundPixmap">TQWidget::setBackgroundPixmap</a>( const <a href="ntqpixmap.html">TQPixmap</a> & pm ) -<li> <a href="tqwidget.html#setFont">TQWidget::setFont</a>( const <a href="ntqfont.html">TQFont</a> & f, bool ) +<li> <a href="tqwidget.html#setFont">TQWidget::setFont</a>( const <a href="tqfont.html">TQFont</a> & f, bool ) <li> <a href="tqwidget.html#setPalette">TQWidget::setPalette</a>( const <a href="ntqpalette.html">TQPalette</a> & p, bool ) <li> <a href="ntqwizard.html#setFinish">TQWizard::setFinish</a>( <a href="tqwidget.html">TQWidget</a> *, bool ) <li> <a href="tqxmlinputsource.html#TQXmlInputSource">TQXmlInputSource::TQXmlInputSource</a>( <a href="tqfile.html">TQFile</a> & file ) @@ -450,7 +450,7 @@ compatibility. non-existent file, the dialog would accept this. In TQt 3.x, you must set the mode, e.g. setMode(TQFileDialog::AnyFile), to get the same behavior. -<p> <h2> <a href="ntqfont.html">TQFont</a> +<p> <h2> <a href="tqfont.html">TQFont</a> </h2> <a name="10"></a><p> The internals of TQFont have changed significantly between TQt 2.2 and TQt 3.0, to give better Unicode support and to make developing @@ -520,7 +520,7 @@ TQtMultiLineEdit throughout. <a name="16"></a><p> 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, TQPrinter behaved differently on Windows and Unix, when using view -transformations on the <a href="ntqpainter.html">TQPainter</a>. This has changed now, and TQPrinter +transformations on the <a href="tqpainter.html">TQPainter</a>. 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 @@ -767,13 +767,13 @@ few classes for which the AutoMask property is still the best approach are <a href="ntqcheckbox.html">TQCheckBox</a>, <a href="ntqcombobox.html">TQComboBox</a>, <a href="ntqpushbutton.html">TQPushButton</a>, <a href="ntqradiobutton.html">TQRadioButton</a> and <a href="ntqtabwidget.html">TQTabWidget</a>. <p> <h2> Bezier Curves </h2> -<a name="28"></a><p> The function names for Bezier curves in <a href="ntqpainter.html">TQPainter</a> and <a href="ntqpointarray.html">TQPointArray</a> have +<a name="28"></a><p> The function names for Bezier curves in <a href="tqpainter.html">TQPainter</a> and <a href="ntqpointarray.html">TQPointArray</a> have been corrected. They now properly reflect their cubic form instead of a quadratic one. If you have been using either TQPainter::drawQuadBezier() or TQPointArray::quadBezier() you must replace these calls with <ul> -<li> void <a href="ntqpainter.html#drawCubicBezier">TQPainter::drawCubicBezier</a>( const TQPointArray &, int index=0 ) and +<li> void <a href="tqpainter.html#drawCubicBezier">TQPainter::drawCubicBezier</a>( const TQPointArray &, int index=0 ) and <li> TQPointArray <a href="ntqpointarray.html#cubicBezier">TQPointArray::cubicBezier</a>() const </ul> respectively. Neither the arguments nor the resulting curve have changed. |