summaryrefslogtreecommitdiffstats
path: root/doc/html/porting.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/porting.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/porting.html')
-rw-r--r--doc/html/porting.html430
1 files changed, 215 insertions, 215 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html
index c812b21cf..c5058a8be 100644
--- a/doc/html/porting.html
+++ b/doc/html/porting.html
@@ -163,46 +163,46 @@ set any relevant preprocessor defines in the makefile.
header files. This speeds up compilation when you don't need those
nested header files. But in some cases you will find you need to add
an extra #include to your files.
-<p> For example, if you get a message about <a href="qstringlist.html">TQStringList</a> or its functions
-not being defined, then add <tt>#include &lt;qstringlist.h&gt;</tt> at
+<p> For example, if you get a message about <a href="ntqstringlist.html">TQStringList</a> or its functions
+not being defined, then add <tt>#include &lt;ntqstringlist.h&gt;</tt> at
the top of the file giving the error.
<p> Header files that you might need to add #include directives for include:
<ul>
-<li> <tt>&lt;qcursor.h&gt;</tt>
-<li> <tt>&lt;qpainter.h&gt;</tt>
-<li> <tt>&lt;qpen.h&gt;</tt>
-<li> <tt>&lt;qstringlist.h&gt;</tt>
-<li> <tt>&lt;qregexp.h&gt;</tt>
-<li> <tt>&lt;qstrlist.h&gt;</tt>
-<li> <tt>&lt;qstyle.h&gt;</tt>
-<li> <tt>&lt;qvaluelist.h&gt;</tt>
+<li> <tt>&lt;ntqcursor.h&gt;</tt>
+<li> <tt>&lt;ntqpainter.h&gt;</tt>
+<li> <tt>&lt;ntqpen.h&gt;</tt>
+<li> <tt>&lt;ntqstringlist.h&gt;</tt>
+<li> <tt>&lt;ntqregexp.h&gt;</tt>
+<li> <tt>&lt;ntqstrlist.h&gt;</tt>
+<li> <tt>&lt;ntqstyle.h&gt;</tt>
+<li> <tt>&lt;ntqvaluelist.h&gt;</tt>
</ul>
<p> <h2> Namespace
</h2>
<a name="3"></a><p> TQt 3.x is namespace clean. A few global identifiers that had been
left in TQt 2.x have been discarded.
-<p> Enumeration <a href="qt.html#CursorShape-enum">TQt::CursorShape</a> and its values are now part of the
-special <a href="qt.html">TQt</a> class defined in qnamespace.h. If you get compilation
+<p> Enumeration <a href="ntqt.html#CursorShape-enum">TQt::CursorShape</a> and its values are now part of the
+special <a href="ntqt.html">TQt</a> class defined in ntqnamespace.h. If you get compilation
errors about these being missing (unlikely, since most of your code will
be in classes that inherit from the TQt namespace class), then apply
the following changes:
<p> <ul>
-<li> <tt>TQCursorShape</tt> becomes <a href="qt.html#CursorShape-enum">TQt::CursorShape</a>
-<li> <tt>ArrowCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::ArrowCursor</a>
-<li> <tt>UpArrowCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::UpArrowCursor</a>
-<li> <tt>CrossCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::CrossCursor</a>
-<li> <tt>WaitCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::WaitCursor</a>
-<li> <tt>IbeamCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::IbeamCursor</a>
-<li> <tt>SizeVerCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SizeVerCursor</a>
-<li> <tt>SizeHorCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SizeHorCursor</a>
-<li> <tt>SizeBDiagCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SizeBDiagCursor</a>
-<li> <tt>SizeFDiagCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SizeFDiagCursor</a>
-<li> <tt>SizeAllCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SizeAllCursor</a>
-<li> <tt>BlankCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::BlankCursor</a>
-<li> <tt>SplitVCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SplitVCursor</a>
-<li> <tt>SplitHCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::SplitHCursor</a>
-<li> <tt>PointingHandCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::PointingHandCursor</a>
-<li> <tt>BitmapCursor</tt> becomes <a href="qt.html#CursorShape-enum">TQt::BitmapCursor</a>
+<li> <tt>TQCursorShape</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::CursorShape</a>
+<li> <tt>ArrowCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::ArrowCursor</a>
+<li> <tt>UpArrowCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::UpArrowCursor</a>
+<li> <tt>CrossCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::CrossCursor</a>
+<li> <tt>WaitCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::WaitCursor</a>
+<li> <tt>IbeamCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::IbeamCursor</a>
+<li> <tt>SizeVerCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SizeVerCursor</a>
+<li> <tt>SizeHorCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SizeHorCursor</a>
+<li> <tt>SizeBDiagCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SizeBDiagCursor</a>
+<li> <tt>SizeFDiagCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SizeFDiagCursor</a>
+<li> <tt>SizeAllCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SizeAllCursor</a>
+<li> <tt>BlankCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::BlankCursor</a>
+<li> <tt>SplitVCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SplitVCursor</a>
+<li> <tt>SplitHCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::SplitHCursor</a>
+<li> <tt>PointingHandCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::PointingHandCursor</a>
+<li> <tt>BitmapCursor</tt> becomes <a href="ntqt.html#CursorShape-enum">TQt::BitmapCursor</a>
</ul>
<p> The names of some debugging macro variables have been changed. We have
tried not to break source compatibility as much as possible. If you observe
@@ -269,119 +269,119 @@ rather than the documentation supplied with TQt to obtain the latest
information regarding obsolete functions and how to replace them in
new code.
<p> <ul>
-<li> <a href="qaccel.html#keyToString">TQAccel::keyToString</a>( <a href="qkeysequence.html">TQKeySequence</a> k )
-<li> <a href="qaccel.html#stringToKey">TQAccel::stringToKey</a>( const <a href="qstring.html">TQString</a> &amp; s )
-<li> <a href="qactiongroup.html#insert">TQActionGroup::insert</a>( <a href="qaction.html">TQAction</a> *a )
-<li> <a href="qbutton.html#autoResize">TQButton::autoResize</a>() const
-<li> <a href="qbutton.html#setAutoResize">TQButton::setAutoResize</a>( bool )
+<li> <a href="ntqaccel.html#keyToString">TQAccel::keyToString</a>( <a href="ntqkeysequence.html">TQKeySequence</a> k )
+<li> <a href="ntqaccel.html#stringToKey">TQAccel::stringToKey</a>( const <a href="ntqstring.html">TQString</a> &amp; s )
+<li> <a href="qactiongroup.html#insert">TQActionGroup::insert</a>( <a href="ntqaction.html">TQAction</a> *a )
+<li> <a href="ntqbutton.html#autoResize">TQButton::autoResize</a>() const
+<li> <a href="ntqbutton.html#setAutoResize">TQButton::setAutoResize</a>( bool )
<li> <a href="qcanvasitem.html#active">TQCanvasItem::active</a>() const
<li> <a href="qcanvasitem.html#enabled">TQCanvasItem::enabled</a>() const
<li> <a href="qcanvasitem.html#selected">TQCanvasItem::selected</a>() const
<li> <a href="qcanvasitem.html#visible">TQCanvasItem::visible</a>() const
-<li> <a href="qcanvaspixmaparray.html#TQCanvasPixmapArray">TQCanvasPixmapArray::TQCanvasPixmapArray</a>( <a href="qptrlist.html">TQPtrList</a>&lt;TQPixmap&gt; list, TQPtrList&lt;TQPoint&gt; hotspots )
+<li> <a href="qcanvaspixmaparray.html#TQCanvasPixmapArray">TQCanvasPixmapArray::TQCanvasPixmapArray</a>( <a href="ntqptrlist.html">TQPtrList</a>&lt;TQPixmap&gt; list, TQPtrList&lt;TQPoint&gt; hotspots )
<li> <a href="qcanvaspixmaparray.html#operator!">TQCanvasPixmapArray::operator!</a>()
-<li> <a href="qcolorgroup.html#TQColorGroup">TQColorGroup::TQColorGroup</a>( const <a href="qcolor.html">TQColor</a> &amp; foreground, const TQColor &amp; background, const TQColor &amp; light, const TQColor &amp; dark, const TQColor &amp; mid, const TQColor &amp; text, const TQColor &amp; base )
-<li> <a href="qcombobox.html#autoResize">TQComboBox::autoResize</a>() const
-<li> <a href="qcombobox.html#setAutoResize">TQComboBox::setAutoResize</a>( bool )
+<li> <a href="qcolorgroup.html#TQColorGroup">TQColorGroup::TQColorGroup</a>( const <a href="ntqcolor.html">TQColor</a> &amp; foreground, const TQColor &amp; background, const TQColor &amp; light, const TQColor &amp; dark, const TQColor &amp; mid, const TQColor &amp; text, const TQColor &amp; base )
+<li> <a href="ntqcombobox.html#autoResize">TQComboBox::autoResize</a>() const
+<li> <a href="ntqcombobox.html#setAutoResize">TQComboBox::setAutoResize</a>( bool )
<li> <a href="qdate.html#dayName">TQDate::dayName</a>( int weekday )
<li> <a href="qdate.html#monthName">TQDate::monthName</a>( int month )
-<li> <a href="qdir.html#encodedEntryList">TQDir::encodedEntryList</a>( const <a href="qstring.html">TQString</a> &amp; nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const
+<li> <a href="ntqdir.html#encodedEntryList">TQDir::encodedEntryList</a>( const <a href="ntqstring.html">TQString</a> &amp; nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const
<li> TQDir::encodedEntryList( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const
-<li> <a href="qdockwindow.html#isHorizontalStretchable">TQDockWindow::isHorizontalStretchable</a>() const
-<li> <a href="qdockwindow.html#isVerticalStretchable">TQDockWindow::isVerticalStretchable</a>() const
-<li> <a href="qdockwindow.html#setHorizontalStretchable">TQDockWindow::setHorizontalStretchable</a>( bool b )
-<li> <a href="qdockwindow.html#setVerticalStretchable">TQDockWindow::setVerticalStretchable</a>( bool b )
-<li> <a href="qfont.html#defaultFont">TQFont::defaultFont</a>()
-<li> <a href="qfont.html#setDefaultFont">TQFont::setDefaultFont</a>( const <a href="qfont.html">TQFont</a> &amp; f )
-<li> <a href="qfont.html#setPixelSizeFloat">TQFont::setPixelSizeFloat</a>( float pixelSize )
-<li> <a href="qfontdatabase.html#bold">TQFontDatabase::bold</a>( const TQString &amp; family, const TQString &amp; style, const <a href="qstring.html">TQString</a> &amp; ) const
-<li> <a href="qfontdatabase.html#families">TQFontDatabase::families</a>( bool ) const
-<li> <a href="qfontdatabase.html#font">TQFontDatabase::font</a>( const TQString &amp; familyName, const TQString &amp; style, int pointSize, const TQString &amp; )
-<li> <a href="qfontdatabase.html#isBitmapScalable">TQFontDatabase::isBitmapScalable</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
-<li> <a href="qfontdatabase.html#isFixedPitch">TQFontDatabase::isFixedPitch</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
-<li> <a href="qfontdatabase.html#isScalable">TQFontDatabase::isScalable</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
-<li> <a href="qfontdatabase.html#isSmoothlyScalable">TQFontDatabase::isSmoothlyScalable</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
-<li> <a href="qfontdatabase.html#italic">TQFontDatabase::italic</a>( const <a href="qstring.html">TQString</a> &amp; family, const TQString &amp; style, const TQString &amp; ) const
-<li> <a href="qfontdatabase.html#pointSizes">TQFontDatabase::pointSizes</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; )
-<li> <a href="qfontdatabase.html#smoothSizes">TQFontDatabase::smoothSizes</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; )
-<li> <a href="qfontdatabase.html#styles">TQFontDatabase::styles</a>( const TQString &amp; family, const TQString &amp; ) const
-<li> <a href="qfontdatabase.html#weight">TQFontDatabase::weight</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
-<li> <a href="qlabel.html#autoResize">TQLabel::autoResize</a>() const
-<li> <a href="qlabel.html#setAutoResize">TQLabel::setAutoResize</a>( bool enable )
-<li> <a href="qlineedit.html#cursorLeft">TQLineEdit::cursorLeft</a>( bool mark, int steps = 1 )
-<li> <a href="qlineedit.html#cursorRight">TQLineEdit::cursorRight</a>( bool mark, int steps = 1 )
-<li> <a href="qlineedit.html#hasMarkedText">TQLineEdit::hasMarkedText</a>() const
-<li> <a href="qlineedit.html#markedText">TQLineEdit::markedText</a>() const
-<li> <a href="qlineedit.html#repaintArea">TQLineEdit::repaintArea</a>( int, int )
-<li> <a href="qlistbox.html#cellHeight">TQListBox::cellHeight</a>( int i ) const
+<li> <a href="ntqdockwindow.html#isHorizontalStretchable">TQDockWindow::isHorizontalStretchable</a>() const
+<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> &amp; f )
+<li> <a href="ntqfont.html#setPixelSizeFloat">TQFont::setPixelSizeFloat</a>( float pixelSize )
+<li> <a href="ntqfontdatabase.html#bold">TQFontDatabase::bold</a>( const TQString &amp; family, const TQString &amp; style, const <a href="ntqstring.html">TQString</a> &amp; ) const
+<li> <a href="ntqfontdatabase.html#families">TQFontDatabase::families</a>( bool ) const
+<li> <a href="ntqfontdatabase.html#font">TQFontDatabase::font</a>( const TQString &amp; familyName, const TQString &amp; style, int pointSize, const TQString &amp; )
+<li> <a href="ntqfontdatabase.html#isBitmapScalable">TQFontDatabase::isBitmapScalable</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
+<li> <a href="ntqfontdatabase.html#isFixedPitch">TQFontDatabase::isFixedPitch</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
+<li> <a href="ntqfontdatabase.html#isScalable">TQFontDatabase::isScalable</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
+<li> <a href="ntqfontdatabase.html#isSmoothlyScalable">TQFontDatabase::isSmoothlyScalable</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) const
+<li> <a href="ntqfontdatabase.html#italic">TQFontDatabase::italic</a>( const <a href="ntqstring.html">TQString</a> &amp; family, const TQString &amp; style, const TQString &amp; ) const
+<li> <a href="ntqfontdatabase.html#pointSizes">TQFontDatabase::pointSizes</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; )
+<li> <a href="ntqfontdatabase.html#smoothSizes">TQFontDatabase::smoothSizes</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; )
+<li> <a href="ntqfontdatabase.html#styles">TQFontDatabase::styles</a>( const TQString &amp; family, const TQString &amp; ) const
+<li> <a href="ntqfontdatabase.html#weight">TQFontDatabase::weight</a>( const TQString &amp; family, const TQString &amp; style, const TQString &amp; ) 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="ntqlineedit.html#cursorLeft">TQLineEdit::cursorLeft</a>( bool mark, int steps = 1 )
+<li> <a href="ntqlineedit.html#cursorRight">TQLineEdit::cursorRight</a>( bool mark, int steps = 1 )
+<li> <a href="ntqlineedit.html#hasMarkedText">TQLineEdit::hasMarkedText</a>() const
+<li> <a href="ntqlineedit.html#markedText">TQLineEdit::markedText</a>() const
+<li> <a href="ntqlineedit.html#repaintArea">TQLineEdit::repaintArea</a>( int, int )
+<li> <a href="ntqlistbox.html#cellHeight">TQListBox::cellHeight</a>( int i ) const
<li> TQListBox::cellHeight() const
-<li> <a href="qlistbox.html#cellWidth">TQListBox::cellWidth</a>() const
-<li> <a href="qlistbox.html#findItem">TQListBox::findItem</a>( int yPos ) const
-<li> <a href="qlistbox.html#inSort">TQListBox::inSort</a>( const <a href="qlistboxitem.html">TQListBoxItem</a> *lbi )
-<li> TQListBox::inSort( const <a href="qstring.html">TQString</a> &amp; text )
-<li> <a href="qlistbox.html#itemYPos">TQListBox::itemYPos</a>( int index, int *yPos ) const
-<li> <a href="qlistbox.html#numCols">TQListBox::numCols</a>() const
-<li> <a href="qlistbox.html#totalHeight">TQListBox::totalHeight</a>() const
-<li> <a href="qlistbox.html#totalWidth">TQListBox::totalWidth</a>() const
+<li> <a href="ntqlistbox.html#cellWidth">TQListBox::cellWidth</a>() const
+<li> <a href="ntqlistbox.html#findItem">TQListBox::findItem</a>( int yPos ) const
+<li> <a href="ntqlistbox.html#inSort">TQListBox::inSort</a>( const <a href="qlistboxitem.html">TQListBoxItem</a> *lbi )
+<li> TQListBox::inSort( const <a href="ntqstring.html">TQString</a> &amp; text )
+<li> <a href="ntqlistbox.html#itemYPos">TQListBox::itemYPos</a>( int index, int *yPos ) const
+<li> <a href="ntqlistbox.html#numCols">TQListBox::numCols</a>() const
+<li> <a href="ntqlistbox.html#totalHeight">TQListBox::totalHeight</a>() const
+<li> <a href="ntqlistbox.html#totalWidth">TQListBox::totalWidth</a>() const
<li> <a href="qlistboxitem.html#current">TQListBoxItem::current</a>() const
<li> <a href="qlistboxitem.html#selected">TQListBoxItem::selected</a>() const
-<li> <a href="qlistview.html#removeItem">TQListView::removeItem</a>( <a href="qlistviewitem.html">TQListViewItem</a> *item )
+<li> <a href="ntqlistview.html#removeItem">TQListView::removeItem</a>( <a href="qlistviewitem.html">TQListViewItem</a> *item )
<li> <a href="qlistviewitem.html#removeItem">TQListViewItem::removeItem</a>( TQListViewItem *item )
-<li> <a href="qmainwindow.html#addToolBar">TQMainWindow::addToolBar</a>( <a href="qdockwindow.html">TQDockWindow</a> *, Dock = DockTop, bool newLine = FALSE )
+<li> <a href="ntqmainwindow.html#addToolBar">TQMainWindow::addToolBar</a>( <a href="ntqdockwindow.html">TQDockWindow</a> *, Dock = DockTop, bool newLine = FALSE )
<li> TQMainWindow::addToolBar( TQDockWindow *, const TQString &amp; label, Dock = DockTop, bool newLine = FALSE )
-<li> <a href="qmainwindow.html#lineUpToolBars">TQMainWindow::lineUpToolBars</a>( bool keepNewLines = FALSE )
-<li> <a href="qmainwindow.html#moveToolBar">TQMainWindow::moveToolBar</a>( TQDockWindow *, Dock = DockTop )
+<li> <a href="ntqmainwindow.html#lineUpToolBars">TQMainWindow::lineUpToolBars</a>( bool keepNewLines = FALSE )
+<li> <a href="ntqmainwindow.html#moveToolBar">TQMainWindow::moveToolBar</a>( TQDockWindow *, Dock = DockTop )
<li> TQMainWindow::moveToolBar( TQDockWindow *, Dock, bool nl, int index, int extraOffset = -1 )
-<li> <a href="qmainwindow.html#removeToolBar">TQMainWindow::removeToolBar</a>( TQDockWindow *)
-<li> <a href="qmainwindow.html#setToolBarsMovable">TQMainWindow::setToolBarsMovable</a>( bool )
-<li> <a href="qmainwindow.html#toolBarPositionChanged">TQMainWindow::toolBarPositionChanged</a>( <a href="qtoolbar.html">TQToolBar</a> *)
-<li> <a href="qmainwindow.html#toolBarsMovable">TQMainWindow::toolBarsMovable</a>() const
-<li> <a href="qmessagebox.html#message">TQMessageBox::message</a>( const <a href="qstring.html">TQString</a> &amp; caption, const TQString &amp; text, const TQString &amp; buttonText = <a href="qstring.html#TQString-null">TQString::null</a>, <a href="qwidget.html">TQWidget</a> *parent = 0, const char *= 0 )
-<li> <a href="qmessagebox.html#query">TQMessageBox::query</a>( const TQString &amp; caption, const TQString &amp; text, const TQString &amp; yesButtonText = TQString::null, const TQString &amp; noButtonText = TQString::null, TQWidget *parent = 0, const char *= 0 )
-<li> <a href="qmessagebox.html#standardIcon">TQMessageBox::standardIcon</a>( Icon icon, GUIStyle style )
-<li> <a href="qpalette.html#normal">TQPalette::normal</a>()
-<li> <a href="qregexp.html#match">TQRegExp::match</a>( const TQString &amp; str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
-<li> <a href="qscrollview.html#childIsVisible">TQScrollView::childIsVisible</a>( TQWidget *child )
-<li> <a href="qscrollview.html#showChild">TQScrollView::showChild</a>( TQWidget *child, bool show = TRUE )
-<li> <a href="qsignal.html#block">TQSignal::block</a>( bool b )
-<li> <a href="qsignal.html#isBlocked">TQSignal::isBlocked</a>() const
-<li> <a href="qsignal.html#parameter">TQSignal::parameter</a>() const
-<li> <a href="qsignal.html#setParameter">TQSignal::setParameter</a>( int value )
-<li> <a href="qsimplerichtext.html#draw">TQSimpleRichText::draw</a>( <a href="qpainter.html">TQPainter</a> *p, int x, int y, const <a href="qregion.html">TQRegion</a> &amp; clipRegion, const <a href="qcolorgroup.html">TQColorGroup</a> &amp; cg, const <a href="qbrush.html">TQBrush</a> *paper = 0 ) const
-<li> <a href="qstring.html#ascii">TQString::ascii</a>() const
-<li> <a href="qstring.html#data">TQString::data</a>() const
-<li> <a href="qstring.html#setExpand">TQString::setExpand</a>( uint index, <a href="qchar.html">TQChar</a> c )
-<li> <a href="qstyle.html#defaultFrameWidth">TQStyle::defaultFrameWidth</a>() const
-<li> <a href="qstyle.html#scrollBarExtent">TQStyle::scrollBarExtent</a>() const
-<li> <a href="qstyle.html#tabbarMetrics">TQStyle::tabbarMetrics</a>( const <a href="qwidget.html">TQWidget</a> *t, int &amp; hf, int &amp; vf, int &amp; ov ) const
-<li> <a href="qtabdialog.html#isTabEnabled">TQTabDialog::isTabEnabled</a>( const char *name ) const
-<li> <a href="qtabdialog.html#selected">TQTabDialog::selected</a>( const <a href="qstring.html">TQString</a> &amp; )
+<li> <a href="ntqmainwindow.html#removeToolBar">TQMainWindow::removeToolBar</a>( TQDockWindow *)
+<li> <a href="ntqmainwindow.html#setToolBarsMovable">TQMainWindow::setToolBarsMovable</a>( bool )
+<li> <a href="ntqmainwindow.html#toolBarPositionChanged">TQMainWindow::toolBarPositionChanged</a>( <a href="ntqtoolbar.html">TQToolBar</a> *)
+<li> <a href="ntqmainwindow.html#toolBarsMovable">TQMainWindow::toolBarsMovable</a>() const
+<li> <a href="ntqmessagebox.html#message">TQMessageBox::message</a>( const <a href="ntqstring.html">TQString</a> &amp; caption, const TQString &amp; text, const TQString &amp; buttonText = <a href="ntqstring.html#TQString-null">TQString::null</a>, <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *= 0 )
+<li> <a href="ntqmessagebox.html#query">TQMessageBox::query</a>( const TQString &amp; caption, const TQString &amp; text, const TQString &amp; yesButtonText = TQString::null, const TQString &amp; noButtonText = TQString::null, TQWidget *parent = 0, const char *= 0 )
+<li> <a href="ntqmessagebox.html#standardIcon">TQMessageBox::standardIcon</a>( Icon icon, GUIStyle style )
+<li> <a href="ntqpalette.html#normal">TQPalette::normal</a>()
+<li> <a href="ntqregexp.html#match">TQRegExp::match</a>( const TQString &amp; 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="ntqsignal.html#block">TQSignal::block</a>( bool b )
+<li> <a href="ntqsignal.html#isBlocked">TQSignal::isBlocked</a>() const
+<li> <a href="ntqsignal.html#parameter">TQSignal::parameter</a>() const
+<li> <a href="ntqsignal.html#setParameter">TQSignal::setParameter</a>( int value )
+<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> &amp; clipRegion, const <a href="qcolorgroup.html">TQColorGroup</a> &amp; cg, const <a href="ntqbrush.html">TQBrush</a> *paper = 0 ) const
+<li> <a href="ntqstring.html#ascii">TQString::ascii</a>() const
+<li> <a href="ntqstring.html#data">TQString::data</a>() const
+<li> <a href="ntqstring.html#setExpand">TQString::setExpand</a>( uint index, <a href="qchar.html">TQChar</a> c )
+<li> <a href="ntqstyle.html#defaultFrameWidth">TQStyle::defaultFrameWidth</a>() const
+<li> <a href="ntqstyle.html#scrollBarExtent">TQStyle::scrollBarExtent</a>() const
+<li> <a href="ntqstyle.html#tabbarMetrics">TQStyle::tabbarMetrics</a>( const <a href="ntqwidget.html">TQWidget</a> *t, int &amp; hf, int &amp; vf, int &amp; ov ) const
+<li> <a href="ntqtabdialog.html#isTabEnabled">TQTabDialog::isTabEnabled</a>( const char *name ) const
+<li> <a href="ntqtabdialog.html#selected">TQTabDialog::selected</a>( const <a href="ntqstring.html">TQString</a> &amp; )
<li> TQTabDialog::selected( const TQString &amp; tabLabel )
-<li> <a href="qtabdialog.html#setTabEnabled">TQTabDialog::setTabEnabled</a>( const char *name, bool enable )
-<li> <a href="qtextstream.html#TQTextStream">TQTextStream::TQTextStream</a>( TQString &amp; str, int filemode )
-<li> <a href="qtoolbar.html#TQToolBar">TQToolBar::TQToolBar</a>( const TQString &amp; label, <a href="qmainwindow.html">TQMainWindow</a> *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 )
-<li> <a href="qtoolbutton.html#iconSet">TQToolButton::iconSet</a>( bool on ) const
-<li> <a href="qtoolbutton.html#offIconSet">TQToolButton::offIconSet</a>() const
-<li> <a href="qtoolbutton.html#onIconSet">TQToolButton::onIconSet</a>() const
-<li> <a href="qtoolbutton.html#setIconSet">TQToolButton::setIconSet</a>( const <a href="qiconset.html">TQIconSet</a> &amp; set, bool on )
-<li> <a href="qtoolbutton.html#setOffIconSet">TQToolButton::setOffIconSet</a>( const TQIconSet &amp; )
-<li> <a href="qtoolbutton.html#setOnIconSet">TQToolButton::setOnIconSet</a>( const TQIconSet &amp; )
-<li> <a href="qtooltip.html#enabled">TQToolTip::enabled</a>()
-<li> <a href="qtooltip.html#setEnabled">TQToolTip::setEnabled</a>( bool enable )
-<li> <a href="qtranslator.html#find">TQTranslator::find</a>( const char *context, const char *sourceText, const char *comment = 0 ) const
-<li> <a href="qtranslator.html#insert">TQTranslator::insert</a>( const char *context, const char *sourceText, const <a href="qstring.html">TQString</a> &amp; translation )
-<li> <a href="qtranslator.html#remove">TQTranslator::remove</a>( const char *context, const char *sourceText )
-<li> <a href="quridrag.html#setFilenames">TQUriDrag::setFilenames</a>( const <a href="qstringlist.html">TQStringList</a> &amp; fnames )
-<li> <a href="qwidget.html#backgroundColor">TQWidget::backgroundColor</a>() const
-<li> <a href="qwidget.html#backgroundPixmap">TQWidget::backgroundPixmap</a>() const
-<li> <a href="qwidget.html#iconify">TQWidget::iconify</a>()
-<li> <a href="qwidget.html#setBackgroundColor">TQWidget::setBackgroundColor</a>( const <a href="qcolor.html">TQColor</a> &amp; c )
-<li> <a href="qwidget.html#setBackgroundPixmap">TQWidget::setBackgroundPixmap</a>( const <a href="qpixmap.html">TQPixmap</a> &amp; pm )
-<li> <a href="qwidget.html#setFont">TQWidget::setFont</a>( const <a href="qfont.html">TQFont</a> &amp; f, bool )
-<li> <a href="qwidget.html#setPalette">TQWidget::setPalette</a>( const <a href="qpalette.html">TQPalette</a> &amp; p, bool )
-<li> <a href="qwizard.html#setFinish">TQWizard::setFinish</a>( <a href="qwidget.html">TQWidget</a> *, bool )
-<li> <a href="qxmlinputsource.html#TQXmlInputSource">TQXmlInputSource::TQXmlInputSource</a>( <a href="qfile.html">TQFile</a> &amp; file )
-<li> TQXmlInputSource::TQXmlInputSource( <a href="qtextstream.html">TQTextStream</a> &amp; stream )
+<li> <a href="ntqtabdialog.html#setTabEnabled">TQTabDialog::setTabEnabled</a>( const char *name, bool enable )
+<li> <a href="ntqtextstream.html#TQTextStream">TQTextStream::TQTextStream</a>( TQString &amp; str, int filemode )
+<li> <a href="ntqtoolbar.html#TQToolBar">TQToolBar::TQToolBar</a>( const TQString &amp; label, <a href="ntqmainwindow.html">TQMainWindow</a> *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 )
+<li> <a href="ntqtoolbutton.html#iconSet">TQToolButton::iconSet</a>( bool on ) const
+<li> <a href="ntqtoolbutton.html#offIconSet">TQToolButton::offIconSet</a>() const
+<li> <a href="ntqtoolbutton.html#onIconSet">TQToolButton::onIconSet</a>() const
+<li> <a href="ntqtoolbutton.html#setIconSet">TQToolButton::setIconSet</a>( const <a href="ntqiconset.html">TQIconSet</a> &amp; set, bool on )
+<li> <a href="ntqtoolbutton.html#setOffIconSet">TQToolButton::setOffIconSet</a>( const TQIconSet &amp; )
+<li> <a href="ntqtoolbutton.html#setOnIconSet">TQToolButton::setOnIconSet</a>( const TQIconSet &amp; )
+<li> <a href="ntqtooltip.html#enabled">TQToolTip::enabled</a>()
+<li> <a href="ntqtooltip.html#setEnabled">TQToolTip::setEnabled</a>( bool enable )
+<li> <a href="ntqtranslator.html#find">TQTranslator::find</a>( const char *context, const char *sourceText, const char *comment = 0 ) const
+<li> <a href="ntqtranslator.html#insert">TQTranslator::insert</a>( const char *context, const char *sourceText, const <a href="ntqstring.html">TQString</a> &amp; translation )
+<li> <a href="ntqtranslator.html#remove">TQTranslator::remove</a>( const char *context, const char *sourceText )
+<li> <a href="quridrag.html#setFilenames">TQUriDrag::setFilenames</a>( const <a href="ntqstringlist.html">TQStringList</a> &amp; fnames )
+<li> <a href="ntqwidget.html#backgroundColor">TQWidget::backgroundColor</a>() const
+<li> <a href="ntqwidget.html#backgroundPixmap">TQWidget::backgroundPixmap</a>() const
+<li> <a href="ntqwidget.html#iconify">TQWidget::iconify</a>()
+<li> <a href="ntqwidget.html#setBackgroundColor">TQWidget::setBackgroundColor</a>( const <a href="ntqcolor.html">TQColor</a> &amp; c )
+<li> <a href="ntqwidget.html#setBackgroundPixmap">TQWidget::setBackgroundPixmap</a>( const <a href="ntqpixmap.html">TQPixmap</a> &amp; pm )
+<li> <a href="ntqwidget.html#setFont">TQWidget::setFont</a>( const <a href="ntqfont.html">TQFont</a> &amp; f, bool )
+<li> <a href="ntqwidget.html#setPalette">TQWidget::setPalette</a>( const <a href="ntqpalette.html">TQPalette</a> &amp; p, bool )
+<li> <a href="ntqwizard.html#setFinish">TQWizard::setFinish</a>( <a href="ntqwidget.html">TQWidget</a> *, bool )
+<li> <a href="qxmlinputsource.html#TQXmlInputSource">TQXmlInputSource::TQXmlInputSource</a>( <a href="ntqfile.html">TQFile</a> &amp; file )
+<li> TQXmlInputSource::TQXmlInputSource( <a href="ntqtextstream.html">TQTextStream</a> &amp; stream )
<li> <a href="qxmlreader.html#parse">TQXmlReader::parse</a>( const <a href="qxmlinputsource.html">TQXmlInputSource</a> &amp; input )
</ul>
<p> Additionally, these preprocessor directives have been removed:
@@ -405,27 +405,27 @@ and TQVector have been renamed. To ease porting, the old names and the
old header-file names are still supported.
<p> <center><table cellpadding="4" cellspacing="2" border="0">
<tr bgcolor="#a2c511"> <th valign="top">Old Name <th valign="top">New Name <th valign="top">New Header File
-<tr bgcolor="#f0f0f0"> <td valign="top">TQArray <td valign="top"><a href="qmemarray.html">TQMemArray</a> <td valign="top"><tt>&lt;qmemarray.h&gt;</tt>
-<tr bgcolor="#d0d0d0"> <td valign="top">TQCollection <td valign="top"><a href="qptrcollection.html">TQPtrCollection</a> <td valign="top"><tt>&lt;qptrcollection.h&gt;</tt>
-<tr bgcolor="#f0f0f0"> <td valign="top">TQList <td valign="top"><a href="qptrlist.html">TQPtrList</a> <td valign="top"><tt>&lt;qptrlist.h&gt;</tt>
-<tr bgcolor="#d0d0d0"> <td valign="top">TQListIterator <td valign="top"><a href="qptrlistiterator.html">TQPtrListIterator</a> <td valign="top"><tt>&lt;qptrlist.h&gt;</tt>
-<tr bgcolor="#f0f0f0"> <td valign="top">TQQueue <td valign="top"><a href="qptrqueue.html">TQPtrQueue</a> <td valign="top"><tt>&lt;qptrqueue.h&gt;</tt>
-<tr bgcolor="#d0d0d0"> <td valign="top">TQStack <td valign="top"><a href="qptrstack.html">TQPtrStack</a> <td valign="top"><tt>&lt;qptrstack.h&gt;</tt>
-<tr bgcolor="#f0f0f0"> <td valign="top">TQVector <td valign="top"><a href="qptrvector.html">TQPtrVector</a> <td valign="top"><tt>&lt;qptrvector.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQArray <td valign="top"><a href="ntqmemarray.html">TQMemArray</a> <td valign="top"><tt>&lt;ntqmemarray.h&gt;</tt>
+<tr bgcolor="#d0d0d0"> <td valign="top">TQCollection <td valign="top"><a href="ntqptrcollection.html">TQPtrCollection</a> <td valign="top"><tt>&lt;ntqptrcollection.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQList <td valign="top"><a href="ntqptrlist.html">TQPtrList</a> <td valign="top"><tt>&lt;ntqptrlist.h&gt;</tt>
+<tr bgcolor="#d0d0d0"> <td valign="top">TQListIterator <td valign="top"><a href="qptrlistiterator.html">TQPtrListIterator</a> <td valign="top"><tt>&lt;ntqptrlist.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQQueue <td valign="top"><a href="ntqptrqueue.html">TQPtrQueue</a> <td valign="top"><tt>&lt;ntqptrqueue.h&gt;</tt>
+<tr bgcolor="#d0d0d0"> <td valign="top">TQStack <td valign="top"><a href="ntqptrstack.html">TQPtrStack</a> <td valign="top"><tt>&lt;ntqptrstack.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQVector <td valign="top"><a href="ntqptrvector.html">TQPtrVector</a> <td valign="top"><tt>&lt;ntqptrvector.h&gt;</tt>
</table></center>
-<p> <h2> <a href="qbuttongroup.html">TQButtonGroup</a>
+<p> <h2> <a href="ntqbuttongroup.html">TQButtonGroup</a>
</h2>
-<a name="7"></a><p> In TQt 2.x, the function <a href="qbuttongroup.html#selected">TQButtonGroup::selected</a>() returns the selected
-<em>radio</em> button (<a href="qradiobutton.html">TQRadioButton</a>). In TQt 3.0, it returns the selected <em>toggle</em> button (<a href="qbutton.html#toggleButton-prop">TQButton::toggleButton</a>), a more general concept.
+<a name="7"></a><p> In TQt 2.x, the function <a href="ntqbuttongroup.html#selected">TQButtonGroup::selected</a>() returns the selected
+<em>radio</em> button (<a href="ntqradiobutton.html">TQRadioButton</a>). In TQt 3.0, it returns the selected <em>toggle</em> button (<a href="ntqbutton.html#toggleButton-prop">TQButton::toggleButton</a>), a more general concept.
This might affect programs that use TQButtonGroups that contain a
-mixture of radio buttons and non-radio (e.g. <a href="qcheckbox.html">TQCheckBox</a>) toggle buttons.
+mixture of radio buttons and non-radio (e.g. <a href="ntqcheckbox.html">TQCheckBox</a>) toggle buttons.
<p> <h2> <a href="qdate.html">TQDate</a>
</h2>
<a name="8"></a><p> Two TQDate member functions that were virtual in TQt 2.0 are not virtual
in TQt 3.0. This is only relevant if you subclassed TQDate and
reimplemented these functions:
<p> <ul>
-<li> <a href="qstring.html">TQString</a> <a href="qdate.html#monthName">TQDate::monthName</a>( int month ) const
+<li> <a href="ntqstring.html">TQString</a> <a href="qdate.html#monthName">TQDate::monthName</a>( int month ) const
<li> TQString <a href="qdate.html#dayName">TQDate::dayName</a>( int weekday ) const
</ul>
<p> In addition to no longer being virtual, TQDate::monthName() and
@@ -433,13 +433,13 @@ TQDate::dayName() have been renamed <a href="qdate.html#shortMonthName">TQDate::
<a href="qdate.html#shortDayName">TQDate::shortDayName</a>() and have been made static (as they should had
been in the first place). The old names are still provided for source
compatibility.
-<p> <h2> <a href="qfiledialog.html">TQFileDialog</a>
+<p> <h2> <a href="ntqfiledialog.html">TQFileDialog</a>
</h2>
<a name="9"></a><p> If the mode was not set explicitly, and the user entered a
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="qfont.html">TQFont</a>
+<p> <h2> <a href="ntqfont.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
@@ -452,23 +452,23 @@ TQFont::charSet() or TQFont::setCharSet(), just remove them from your
code. There are a few functions that took a TQFont::CharSet as a
parameter; in these cases simply remove the charset from the
parameter list.
-<p> <h2> <a href="qinputdialog.html">TQInputDialog</a>
+<p> <h2> <a href="ntqinputdialog.html">TQInputDialog</a>
</h2>
<a name="11"></a><p> The two static getText(...) methods in TQInputDialog have been merged.
The <tt>echo</tt> parameter is the third parameter and defaults to
TQLineEdit::Normal.
-<p> If you used calls to <a href="qinputdialog.html#getText">TQInputDialog::getText</a>(...) that provided more
+<p> If you used calls to <a href="ntqinputdialog.html#getText">TQInputDialog::getText</a>(...) that provided more
than the first two required parameters you will must add a value
for the <tt>echo</tt> parameter.
-<p> <h2> <a href="qlayout.html">TQLayout</a> and Other Abstract Layout Classes
+<p> <h2> <a href="ntqlayout.html">TQLayout</a> and Other Abstract Layout Classes
</h2>
-<a name="12"></a><p> The definitions of <a href="qglayoutiterator.html">TQGLayoutIterator</a>, <a href="qlayout.html">TQLayout</a>, <a href="qlayoutitem.html">TQLayoutItem</a>, <a href="qlayoutiterator.html">TQLayoutIterator</a>, <a href="qspaceritem.html">TQSpacerItem</a> and <a href="qwidgetitem.html">TQWidgetItem</a> have been moved from <tt>&lt;qabstractlayout.h&gt;</tt> to <tt>&lt;qlayout.h&gt;</tt>. The header <tt>&lt;qabstractlayout.h&gt;</tt> now includes <tt>&lt;qlayout.h&gt;</tt> for compatibility. It
+<a name="12"></a><p> The definitions of <a href="qglayoutiterator.html">TQGLayoutIterator</a>, <a href="ntqlayout.html">TQLayout</a>, <a href="qlayoutitem.html">TQLayoutItem</a>, <a href="qlayoutiterator.html">TQLayoutIterator</a>, <a href="qspaceritem.html">TQSpacerItem</a> and <a href="qwidgetitem.html">TQWidgetItem</a> have been moved from <tt>&lt;ntqabstractlayout.h&gt;</tt> to <tt>&lt;ntqlayout.h&gt;</tt>. The header <tt>&lt;ntqabstractlayout.h&gt;</tt> now includes <tt>&lt;ntqlayout.h&gt;</tt> for compatibility. It
might be removed in a future version.
<p> <h2> <a href="qlistviewitem.html">TQListViewItem</a>
</h2>
<a name="13"></a><p> The paintBranches() function in TQt 2.x had a GUIStyle parameter; this
has been dropped for TQt 3.x since GUI style is handled by the new
-style engine (See <a href="qstyle.html">TQStyle</a>.)
+style engine (See <a href="ntqstyle.html">TQStyle</a>.)
<p> <h2> <a href="qmoveevent.html">TQMoveEvent</a>
</h2>
<a name="14"></a><p> In TQt 2.x, the function <a href="qmoveevent.html#pos">TQMoveEvent::pos</a>() returned the position of the
@@ -480,7 +480,7 @@ top level widgets.
<a name="15"></a><p> The TQMultiLineEdit was a simple editor widget in previous TQt versions.
Since TQt 3.0 includes a new richtext engine, which also supports
editing, TQMultiLineEdit is obsolete. For the sake of compatibility
-TQMultiLineEdit is still provided. It is now a subclass of <a href="qtextedit.html">TQTextEdit</a>
+TQMultiLineEdit is still provided. It is now a subclass of <a href="ntqtextedit.html">TQTextEdit</a>
which wraps the old TQMultiLineEdit so that it is mostly source
compatible to keep old applications working.
<p> For new applications and when maintaining existing applications we
@@ -504,12 +504,12 @@ been renamed to TQtMultiLineEdit to avoid name clashes. If you really
need to keep compatibility with the old TQMultiLineEdit, simply include
this class in your project and rename TQMultiLineEdit to
TQtMultiLineEdit throughout.
-<p> <h2> <a href="qprinter.html">TQPrinter</a>
+<p> <h2> <a href="ntqprinter.html">TQPrinter</a>
</h2>
<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="qpainter.html">TQPainter</a>. This has changed now, and TQPrinter
+transformations on the <a href="ntqpainter.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
@@ -517,13 +517,13 @@ TQPrinter::Compatible flag to the TQPrinter constructor.
<p> 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.
-<p> <h2> <a href="qregexp.html">TQRegExp</a>
+<p> <h2> <a href="ntqregexp.html">TQRegExp</a>
</h2>
-<a name="17"></a><p> The <a href="qregexp.html">TQRegExp</a> class has been rewritten to support many of the features of Perl
-regular expressions. Both the <a href="qregexp.html#regular-expression">regular expression</a> syntax and the TQRegExp
+<a name="17"></a><p> The <a href="ntqregexp.html">TQRegExp</a> class has been rewritten to support many of the features of Perl
+regular expressions. Both the <a href="ntqregexp.html#regular-expression">regular expression</a> syntax and the TQRegExp
interface have been modified.
-<p> Be also aware that <tt>&lt;qregexp.h&gt;</tt> is no longer included
-automatically when you include <tt>&lt;qstringlist.h&gt;</tt>. See
+<p> Be also aware that <tt>&lt;ntqregexp.h&gt;</tt> is no longer included
+automatically when you include <tt>&lt;ntqstringlist.h&gt;</tt>. See
<a href="#Headers">above</a> for details.
<p>
<p> <h3> New special characters
@@ -535,40 +535,40 @@ of these (actually, <tt>&#92;&#92;</tt> in C++ strings), unless it is already
there.
<p> Example: Old code like
<pre>
- <a href="qregexp.html">TQRegExp</a> rx( "([0-9|]*\\)" ); // works in TQt 2.x
+ <a href="ntqregexp.html">TQRegExp</a> rx( "([0-9|]*\\)" ); // works in TQt 2.x
</pre>
should be converted into
<pre>
- <a href="qregexp.html">TQRegExp</a> rx( "\\([0-9\\|]*\\)" ); // works in TQt 2.x and 3.x
+ <a href="ntqregexp.html">TQRegExp</a> rx( "\\([0-9\\|]*\\)" ); // works in TQt 2.x and 3.x
</pre>
(Within character classes, the backslash is not necessary in front of certain
characters, e.g. <tt>|</tt>, but it doesn't hurt.)
<p> Wildcard patterns need no conversion. Here are two examples:
<pre>
- <a href="qregexp.html">TQRegExp</a> wild( "(*.*)" );
- wild.<a href="qregexp.html#setWildcard">setWildcard</a>( TRUE );
+ <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)" );
+ wild.<a href="ntqregexp.html#setWildcard">setWildcard</a>( TRUE );
</pre>
<pre>
// TRUE as third argument means wildcard
- <a href="qregexp.html">TQRegExp</a> wild( "(*.*)", FALSE, TRUE );
+ <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)", FALSE, TRUE );
</pre>
-However, when they are used, make sure to use <a href="qregexp.html#exactMatch">TQRegExp::exactMatch</a>()
-rather than the obsolete <a href="qregexp.html#match">TQRegExp::match</a>(). TQRegExp::match(), like
+However, when they are used, make sure to use <a href="ntqregexp.html#exactMatch">TQRegExp::exactMatch</a>()
+rather than the obsolete <a href="ntqregexp.html#match">TQRegExp::match</a>(). TQRegExp::match(), like
TQRegExp::find(), tries to find a match somewhere in the target
string, while TQRegExp::exactMatch() tries to match the whole target
string.
-<p> <h3> <a href="qregexp.html#operator-eq">TQRegExp::operator=</a>()
+<p> <h3> <a href="ntqregexp.html#operator-eq">TQRegExp::operator=</a>()
</h3>
-<a name="17-2"></a><p> This function has been replaced by <a href="qregexp.html#setPattern">TQRegExp::setPattern</a>() in TQt 2.2.
+<a name="17-2"></a><p> This function has been replaced by <a href="ntqregexp.html#setPattern">TQRegExp::setPattern</a>() in TQt 2.2.
Old code such as
<pre>
- <a href="qregexp.html">TQRegExp</a> rx( "alpha" );
- rx.<a href="qregexp.html#setCaseSensitive">setCaseSensitive</a>( FALSE );
- rx.<a href="qregexp.html#setWildcard">setWildcard</a>( TRUE );
+ <a href="ntqregexp.html">TQRegExp</a> rx( "alpha" );
+ rx.<a href="ntqregexp.html#setCaseSensitive">setCaseSensitive</a>( FALSE );
+ rx.<a href="ntqregexp.html#setWildcard">setWildcard</a>( TRUE );
rx = "beta";
</pre>
@@ -589,17 +589,17 @@ which is what one expects.
<a name="17-3"></a><p> The following function is now obsolete, as it has an unwieldy
parameter list and was poorly named:
<ul>
-<li> bool <a href="qregexp.html#match">TQRegExp::match</a>( const <a href="qstring.html">TQString</a> &amp; str, int index = 0,
+<li> bool <a href="ntqregexp.html#match">TQRegExp::match</a>( const <a href="ntqstring.html">TQString</a> &amp; str, int index = 0,
int * len = 0, bool indexIsStart = TRUE ) const
</ul>
-It will be removed in a future version of TQt. Its <a href="qregexp.html#match">documentation</a> explains how to replace it.
+It will be removed in a future version of TQt. Its <a href="ntqregexp.html#match">documentation</a> explains how to replace it.
<p> <h3> TQRegExp::find()
</h3>
<a name="17-4"></a><p> This function was removed, after a brief appearance in TQt 2.2. Its
-name clashed with <a href="qstring.html#find">TQString::find</a>(). Use <a href="qregexp.html#search">TQRegExp::search</a>() or <a href="qstring.html#find">TQString::find</a>() instead.
-<p> <h3> <a href="qstring.html#findRev">TQString::findRev</a>() and <a href="qstring.html#contains">TQString::contains</a>()
+name clashed with <a href="ntqstring.html#find">TQString::find</a>(). Use <a href="ntqregexp.html#search">TQRegExp::search</a>() or <a href="ntqstring.html#find">TQString::find</a>() instead.
+<p> <h3> <a href="ntqstring.html#findRev">TQString::findRev</a>() and <a href="ntqstring.html#contains">TQString::contains</a>()
</h3>
-<a name="17-5"></a><p> <a href="qstring.html#findRev">TQString::findRev</a>()'s and <a href="qstring.html#contains">TQString::contains</a>()'s semantics have changed
+<a name="17-5"></a><p> <a href="ntqstring.html#findRev">TQString::findRev</a>()'s and <a href="ntqstring.html#contains">TQString::contains</a>()'s semantics have changed
between 2.0 and 3.0 to be more consistent with the other overloads.
<p> For example,
<pre>
@@ -614,13 +614,13 @@ start of input, so
returns 1, not 13 or 14.
<p> This change affect very few existing programs.
-<p> <h3> <a href="qstring.html#replace">TQString::replace</a>()
+<p> <h3> <a href="ntqstring.html#replace">TQString::replace</a>()
</h3>
-<a name="17-6"></a><p> With TQt 1.0 and 2.0, a <a href="qstring.html">TQString</a> is converted implicitly into a <a href="qregexp.html">TQRegExp</a>
+<a name="17-6"></a><p> With TQt 1.0 and 2.0, a <a href="ntqstring.html">TQString</a> is converted implicitly into a <a href="ntqregexp.html">TQRegExp</a>
as the first argument to TQString::replace():
<pre>
- <a href="qstring.html">TQString</a> text = fetch_it_from_somewhere();
- text.<a href="qstring.html#replace">replace</a>( TQString("[A-Z]+"), "" );
+ <a href="ntqstring.html">TQString</a> text = fetch_it_from_somewhere();
+ text.<a href="ntqstring.html#replace">replace</a>( TQString("[A-Z]+"), "" );
</pre>
With TQt 3.0, the compiler gives an error. The solution is to use a
@@ -638,26 +638,26 @@ without breaking source compatibility.
modal dialog instead.
<p> <h2> TQSortedList
</h2>
-<a name="19"></a><p> The TQSortedList class is now obsolete. Consider using a <a href="qdict.html">TQDict</a>, a <a href="qmap.html">TQMap</a>
-or a plain <a href="qptrlist.html">TQPtrList</a> instead.
+<a name="19"></a><p> The TQSortedList class is now obsolete. Consider using a <a href="ntqdict.html">TQDict</a>, a <a href="ntqmap.html">TQMap</a>
+or a plain <a href="ntqptrlist.html">TQPtrList</a> instead.
<p> <h2> TQTableView
</h2>
<a name="20"></a><p> The TQTableView class has been obsoleted and is no longer a part of the
-TQt API. Either use the powerful <a href="qtable.html">TQTable</a> class or the simplistic
-<a href="qgridview.html">TQGridView</a> in any new code you create. If you really need the old table
+TQt API. Either use the powerful <a href="ntqtable.html">TQTable</a> class or the simplistic
+<a href="ntqgridview.html">TQGridView</a> in any new code you create. If you really need the old table
view for compatibility you can find it in <tt>$QTDIR/src/attic/qttableview.{cpp,h}</tt>. Note that the class has been
renamed from TQTableView to TQtTableView to avoid name clashes. To use
it, simply include it in your project and rename TQTableView to
TQtTableView throughout.
-<p> <h2> <a href="qtoolbutton.html">TQToolButton</a>
+<p> <h2> <a href="ntqtoolbutton.html">TQToolButton</a>
</h2>
-<a name="21"></a><p> The <a href="qtoolbutton.html">TQToolButton</a> class used to distinguish between "on" and "off"
-icons. In 3.0, this mechanism was moved into the <a href="qiconset.html">TQIconSet</a> class
-(see <a href="qiconset.html#State-enum">TQIconSet::State</a>).
-<p> The old <a href="qtoolbutton.html#onIconSet-prop">TQToolButton::onIconSet</a> and <a href="qtoolbutton.html#offIconSet-prop">TQToolButton::offIconSet</a>
+<a name="21"></a><p> The <a href="ntqtoolbutton.html">TQToolButton</a> class used to distinguish between "on" and "off"
+icons. In 3.0, this mechanism was moved into the <a href="ntqiconset.html">TQIconSet</a> class
+(see <a href="ntqiconset.html#State-enum">TQIconSet::State</a>).
+<p> The old <a href="ntqtoolbutton.html#onIconSet-prop">TQToolButton::onIconSet</a> and <a href="ntqtoolbutton.html#offIconSet-prop">TQToolButton::offIconSet</a>
properties are still provided so that old source will compile, but
-their semantics have changed: they are now synonyms for <a href="qtoolbutton.html#iconSet-prop">TQToolButton::iconSet</a>. If you used that distinction in TQt 2.x, you will
-need to adjust your code to use the <a href="qiconset.html">TQIconSet</a> On/Off mechanism.
+their semantics have changed: they are now synonyms for <a href="ntqtoolbutton.html#iconSet-prop">TQToolButton::iconSet</a>. If you used that distinction in TQt 2.x, you will
+need to adjust your code to use the <a href="ntqiconset.html">TQIconSet</a> On/Off mechanism.
<p> Likewise, the <em>on</em> parameter of these two functions is now ignored:
<p> <ul>
<li> void TQToolButton::setIconSet ( const TQIconSet &amp; set, bool on )
@@ -666,53 +666,53 @@ need to adjust your code to use the <a href="qiconset.html">TQIconSet</a> On/Off
<p> These functions are only provided for ease of porting. New code
should use the following instead:
<p> <ul>
-<li> void <a href="qtoolbutton.html#setIconSet">TQToolButton::setIconSet</a>( const TQIconSet &amp; set )
-<li> TQIconSet <a href="qtoolbutton.html#iconSet">TQToolButton::iconSet</a>() const
+<li> void <a href="ntqtoolbutton.html#setIconSet">TQToolButton::setIconSet</a>( const TQIconSet &amp; set )
+<li> TQIconSet <a href="ntqtoolbutton.html#iconSet">TQToolButton::iconSet</a>() const
</ul>
<p> Finally, this function is no longer virtual:
<p> <ul>
<li> void TQToolButton::setIconSet( const TQIconSet &amp; set, bool on )
</ul>
-<p> If you have a class that inherits <a href="qtoolbutton.html">TQToolButton</a> and that reimplements
+<p> If you have a class that inherits <a href="ntqtoolbutton.html">TQToolButton</a> and that reimplements
TQToolButton::setIconSet(), you should make the signature of the
-reimplementation agree with the new <a href="qtoolbutton.html#setIconSet">TQToolButton::setIconSet</a>(),
+reimplementation agree with the new <a href="ntqtoolbutton.html#setIconSet">TQToolButton::setIconSet</a>(),
a virtual function.
-<p> <h2> <a href="qtextstream.html">TQTextStream</a>
+<p> <h2> <a href="ntqtextstream.html">TQTextStream</a>
</h2>
<a name="22"></a><p> The global TQTextStream manipulators setw(), setfill() and setprecison()
were renamed to qSetW(), qSetFill() and qSetPrecision() to avoid conflicts
with <tt>&lt;iostream.h&gt;</tt>. If you used them, you must rename the occurrences to
the new names.
-<p> <h2> <a href="qtranslator.html">TQTranslator</a>
+<p> <h2> <a href="ntqtranslator.html">TQTranslator</a>
</h2>
-<a name="23"></a><p> The <a href="qtranslator.html">TQTranslator</a> class was extended in TQt 2.2, and these extensions
+<a name="23"></a><p> The <a href="ntqtranslator.html">TQTranslator</a> class was extended in TQt 2.2, and these extensions
lead to a new interface. This interface is used mainly by translation
tools (for example, <a href="linguist-manual.html">TQt
Linguist</a>). For source compatibility, no member function was
-effectively removed. The <a href="qtranslator.html">TQTranslator</a> documentation points out
+effectively removed. The <a href="ntqtranslator.html">TQTranslator</a> documentation points out
which functions are obsolete.
<p> This function is no longer virtual:
<p> <ul>
-<li> <a href="qstring.html">TQString</a> <a href="qtranslator.html#find">TQTranslator::find</a>( const char * context,
+<li> <a href="ntqstring.html">TQString</a> <a href="ntqtranslator.html#find">TQTranslator::find</a>( const char * context,
const char * sourceText ) const
</ul>
<p> If you have a class that inherits TQTranslator and which reimplements
-TQTranslator::find(), you should reimplement <a href="qtranslator.html#findMessage">TQTranslator::findMessage</a>() instead.
+TQTranslator::find(), you should reimplement <a href="ntqtranslator.html#findMessage">TQTranslator::findMessage</a>() instead.
In fact, find() is now defined in terms of findMessage(). By doing the
conversion, you will also gain support for translator comments and for any
future extensions.
-<p> <h2> <a href="qwidget.html">TQWidget</a>
+<p> <h2> <a href="ntqwidget.html">TQWidget</a>
</h2>
-<a name="24"></a><p> <a href="qwidget.html#backgroundColor">TQWidget::backgroundColor</a>(), <a href="qwidget.html#setBackgroundColor">TQWidget::setBackgroundColor</a>(),
-<a href="qwidget.html#backgroundPixmap">TQWidget::backgroundPixmap</a>() and <a href="qwidget.html#setBackgroundPixmap">TQWidget::setBackgroundPixmap</a>() have
+<a name="24"></a><p> <a href="ntqwidget.html#backgroundColor">TQWidget::backgroundColor</a>(), <a href="ntqwidget.html#setBackgroundColor">TQWidget::setBackgroundColor</a>(),
+<a href="ntqwidget.html#backgroundPixmap">TQWidget::backgroundPixmap</a>() and <a href="ntqwidget.html#setBackgroundPixmap">TQWidget::setBackgroundPixmap</a>() have
often been the source of much confusion in previous releases. TQt 3.0
addresses this by obsoleting these functions and by replacing them
-with eight new functions: <a href="qwidget.html#eraseColor">TQWidget::eraseColor</a>(),
-<a href="qwidget.html#setEraseColor">TQWidget::setEraseColor</a>(), <a href="qwidget.html#erasePixmap">TQWidget::erasePixmap</a>(),
-<a href="qwidget.html#setErasePixmap">TQWidget::setErasePixmap</a>(), <a href="qwidget.html#paletteBackgroundColor">TQWidget::paletteBackgroundColor</a>(),
-<a href="qwidget.html#setPaletteBackgroundColor">TQWidget::setPaletteBackgroundColor</a>(),
-<a href="qwidget.html#paletteBackgroundPixmap">TQWidget::paletteBackgroundPixmap</a>() and
-<a href="qwidget.html#setPaletteBackgroundPixmap">TQWidget::setPaletteBackgroundPixmap</a>(). See their documentation for
+with eight new functions: <a href="ntqwidget.html#eraseColor">TQWidget::eraseColor</a>(),
+<a href="ntqwidget.html#setEraseColor">TQWidget::setEraseColor</a>(), <a href="ntqwidget.html#erasePixmap">TQWidget::erasePixmap</a>(),
+<a href="ntqwidget.html#setErasePixmap">TQWidget::setErasePixmap</a>(), <a href="ntqwidget.html#paletteBackgroundColor">TQWidget::paletteBackgroundColor</a>(),
+<a href="ntqwidget.html#setPaletteBackgroundColor">TQWidget::setPaletteBackgroundColor</a>(),
+<a href="ntqwidget.html#paletteBackgroundPixmap">TQWidget::paletteBackgroundPixmap</a>() and
+<a href="ntqwidget.html#setPaletteBackgroundPixmap">TQWidget::setPaletteBackgroundPixmap</a>(). See their documentation for
details.
<p> <h2> TQXml Classes
</h2>
@@ -765,32 +765,32 @@ transparent-looking widget. In general, this approach is slow and
processor hungry. TQt 3.0 uses the BackgroundOrigin which provides
vastly improved performance and more flexibility in most cases. The
few classes for which the AutoMask property is still the best approach
-are <a href="qcheckbox.html">TQCheckBox</a>, <a href="qcombobox.html">TQComboBox</a>, <a href="qpushbutton.html">TQPushButton</a>, <a href="qradiobutton.html">TQRadioButton</a> and <a href="qtabwidget.html">TQTabWidget</a>.
+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="qpainter.html">TQPainter</a> and <a href="qpointarray.html">TQPointArray</a> have
+<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
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="qpainter.html#drawCubicBezier">TQPainter::drawCubicBezier</a>( const TQPointArray &amp;, int index=0 ) and
-<li> TQPointArray <a href="qpointarray.html#cubicBezier">TQPointArray::cubicBezier</a>() const
+<li> void <a href="ntqpainter.html#drawCubicBezier">TQPainter::drawCubicBezier</a>( const TQPointArray &amp;, 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.
-<p> <h2> Locale-aware String Comparisons in <a href="qiconview.html">TQIconView</a>, <a href="qlistbox.html">TQListBox</a>,
-<a href="qlistview.html">TQListView</a> and <a href="qtable.html">TQTable</a>
+<p> <h2> Locale-aware String Comparisons in <a href="ntqiconview.html">TQIconView</a>, <a href="ntqlistbox.html">TQListBox</a>,
+<a href="ntqlistview.html">TQListView</a> and <a href="ntqtable.html">TQTable</a>
</h2>
-<a name="29"></a><p> In TQt 2.x, <a href="qstring.html">TQString</a> only provided string comparisons using the Unicode
+<a name="29"></a><p> In TQt 2.x, <a href="ntqstring.html">TQString</a> only provided string comparisons using the Unicode
values of the characters of a string. This is efficient and reliable,
but it is not the appropriate order for most languages. For example,
French users expect '&eacute;' (e acute) to be treated essentially as
'e' and not put after 'z'.
-<p> In TQt 3.0, <a href="qstring.html#localeAwareCompare">TQString::localeAwareCompare</a>() implements locale aware
-string comparisions on certain platforms. The classes <a href="qiconview.html">TQIconView</a>, <a href="qlistbox.html">TQListBox</a>, <a href="qlistview.html">TQListView</a> and <a href="qtable.html">TQTable</a> now use
-TQString::localeAwareCompare() instead of <a href="qstring.html#compare">TQString::compare</a>(). If you
+<p> In TQt 3.0, <a href="ntqstring.html#localeAwareCompare">TQString::localeAwareCompare</a>() implements locale aware
+string comparisions on certain platforms. The classes <a href="ntqiconview.html">TQIconView</a>, <a href="ntqlistbox.html">TQListBox</a>, <a href="ntqlistview.html">TQListView</a> and <a href="ntqtable.html">TQTable</a> now use
+TQString::localeAwareCompare() instead of <a href="ntqstring.html#compare">TQString::compare</a>(). If you
want to control the behaviour yourself you can always reimplement
-<a href="qiconviewitem.html#compare">TQIconViewItem::compare</a>(), <a href="qlistbox.html#text">TQListBox::text</a>(), <a href="qlistviewitem.html#compare">TQListViewItem::compare</a>()
+<a href="qiconviewitem.html#compare">TQIconViewItem::compare</a>(), <a href="ntqlistbox.html#text">TQListBox::text</a>(), <a href="qlistviewitem.html#compare">TQListViewItem::compare</a>()
or <a href="qtableitem.html#key">TQTableItem::key</a>() as appropriate.
<p>
<!-- eof -->