summaryrefslogtreecommitdiffstats
path: root/doc/html/porting.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/porting.html')
-rw-r--r--doc/html/porting.html60
1 files changed, 30 insertions, 30 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html
index db22665e8..701b449f3 100644
--- a/doc/html/porting.html
+++ b/doc/html/porting.html
@@ -165,17 +165,17 @@ 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="ntqstringlist.html">TQStringList</a> or its functions
-not being defined, then add <tt>#include &lt;ntqstringlist.h&gt;</tt> at
+<p> For example, if you get a message about <a href="tqstringlist.html">TQStringList</a> or its functions
+not being defined, then add <tt>#include &lt;tqstringlist.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;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;tqstringlist.h&gt;</tt>
<li> <tt>&lt;ntqregexp.h&gt;</tt>
-<li> <tt>&lt;ntqstrlist.h&gt;</tt>
+<li> <tt>&lt;tqstrlist.h&gt;</tt>
<li> <tt>&lt;ntqstyle.h&gt;</tt>
<li> <tt>&lt;tqvaluelist.h&gt;</tt>
</ul>
@@ -299,7 +299,7 @@ information regarding obsolete functions and how to replace them in
new code.
<p> <ul>
<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="ntqaccel.html#stringToKey">TQAccel::stringToKey</a>( const <a href="tqstring.html">TQString</a> &amp; s )
<li> <a href="qactiongroup.html#insert">TQActionGroup::insert</a>( <a href="ntqaction.html">TQAction</a> *a )
<li> <a href="tqcanvasitem.html#active">TQCanvasItem::active</a>() const
<li> <a href="tqcanvasitem.html#enabled">TQCanvasItem::enabled</a>() const
@@ -312,7 +312,7 @@ new code.
<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="ntqdir.html#encodedEntryList">TQDir::encodedEntryList</a>( const <a href="ntqstring.html">TQString</a> &amp; nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const
+<li> <a href="ntqdir.html#encodedEntryList">TQDir::encodedEntryList</a>( const <a href="tqstring.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="ntqdockwindow.html#isHorizontalStretchable">TQDockWindow::isHorizontalStretchable</a>() const
<li> <a href="ntqdockwindow.html#isVerticalStretchable">TQDockWindow::isVerticalStretchable</a>() const
@@ -321,14 +321,14 @@ new code.
<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#bold">TQFontDatabase::bold</a>( const TQString &amp; family, const TQString &amp; style, const <a href="tqstring.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#italic">TQFontDatabase::italic</a>( const <a href="tqstring.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
@@ -340,7 +340,7 @@ new code.
<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> TQListBox::inSort( const <a href="tqstring.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
@@ -358,21 +358,21 @@ new code.
<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="tqwidget.html">TQWidget</a> *parent = 0, const char *= 0 )
+<li> <a href="ntqmessagebox.html#message">TQMessageBox::message</a>( const <a href="tqstring.html">TQString</a> &amp; caption, const TQString &amp; text, const TQString &amp; buttonText = <a href="tqstring.html#TQString-null">TQString::null</a>, <a href="tqwidget.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="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="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="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 )
<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="tqwidget.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> <a href="ntqtabdialog.html#selected">TQTabDialog::selected</a>( const <a href="tqstring.html">TQString</a> &amp; )
<li> TQTabDialog::selected( const TQString &amp; tabLabel )
<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 )
@@ -380,9 +380,9 @@ new code.
<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#insert">TQTranslator::insert</a>( const char *context, const char *sourceText, const <a href="tqstring.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="quridrag.html#setFilenames">TQUriDrag::setFilenames</a>( const <a href="tqstringlist.html">TQStringList</a> &amp; fnames )
<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>()
@@ -436,7 +436,7 @@ mixture of radio buttons and non-radio (e.g. <a href="ntqcheckbox.html">TQCheckB
in TQt 3.0. This is only relevant if you subclassed TQDate and
reimplemented these functions:
<p> <ul>
-<li> <a href="ntqstring.html">TQString</a> <a href="qdate.html#monthName">TQDate::monthName</a>( int month ) const
+<li> <a href="tqstring.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
@@ -534,7 +534,7 @@ happen by default anymore, providing a more consistent printing output.
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;ntqregexp.h&gt;</tt> is no longer included
-automatically when you include <tt>&lt;ntqstringlist.h&gt;</tt>. See
+automatically when you include <tt>&lt;tqstringlist.h&gt;</tt>. See
<a href="#Headers">above</a> for details.
<p>
<p> <h3> New special characters
@@ -600,17 +600,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="ntqregexp.html#match">TQRegExp::match</a>( const <a href="ntqstring.html">TQString</a> &amp; str, int index = 0,
+<li> bool <a href="ntqregexp.html#match">TQRegExp::match</a>( const <a href="tqstring.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="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="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>()
+name clashed with <a href="tqstring.html#find">TQString::find</a>(). Use <a href="ntqregexp.html#search">TQRegExp::search</a>() or <a href="tqstring.html#find">TQString::find</a>() instead.
+<p> <h3> <a href="tqstring.html#findRev">TQString::findRev</a>() and <a href="tqstring.html#contains">TQString::contains</a>()
</h3>
-<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
+<a name="17-5"></a><p> <a href="tqstring.html#findRev">TQString::findRev</a>()'s and <a href="tqstring.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>
@@ -625,13 +625,13 @@ start of input, so
returns 1, not 13 or 14.
<p> This change affect very few existing programs.
-<p> <h3> <a href="ntqstring.html#replace">TQString::replace</a>()
+<p> <h3> <a href="tqstring.html#replace">TQString::replace</a>()
</h3>
-<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>
+<a name="17-6"></a><p> With TQt 1.0 and 2.0, a <a href="tqstring.html">TQString</a> is converted implicitly into a <a href="ntqregexp.html">TQRegExp</a>
as the first argument to TQString::replace():
<pre>
- <a href="ntqstring.html">TQString</a> text = fetch_it_from_somewhere();
- text.<a href="ntqstring.html#replace">replace</a>( TQString("[A-Z]+"), "" );
+ <a href="tqstring.html">TQString</a> text = fetch_it_from_somewhere();
+ text.<a href="tqstring.html#replace">replace</a>( TQString("[A-Z]+"), "" );
</pre>
With TQt 3.0, the compiler gives an error. The solution is to use a
@@ -692,7 +692,7 @@ effectively removed. The <a href="ntqtranslator.html">TQTranslator</a> document
which functions are obsolete.
<p> This function is no longer virtual:
<p> <ul>
-<li> <a href="ntqstring.html">TQString</a> <a href="ntqtranslator.html#find">TQTranslator::find</a>( const char * context,
+<li> <a href="tqstring.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
@@ -780,14 +780,14 @@ respectively. Neither the arguments nor the resulting curve have changed.
<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="ntqstring.html">TQString</a> only provided string comparisons using the Unicode
+<a name="29"></a><p> In TQt 2.x, <a href="tqstring.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="ntqstring.html#localeAwareCompare">TQString::localeAwareCompare</a>() implements locale aware
+<p> In TQt 3.0, <a href="tqstring.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
+TQString::localeAwareCompare() instead of <a href="tqstring.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="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.