diff options
Diffstat (limited to 'doc/html/porting.html')
| -rw-r--r-- | doc/html/porting.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html index f72b3571f..5cd0258eb 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -324,9 +324,9 @@ new code. <li> <a href="qlistboxitem.html#selected">TQListBoxItem::selected</a>() const <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="ntqmainwindow.html#addToolBar">TQMainWindow::addToolBar</a>( <a href="ntqdockwindow.html">TQDockWindow</a> *, Dock = DockTop, bool newLine = FALSE ) -<li> TQMainWindow::addToolBar( TQDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE ) -<li> <a href="ntqmainwindow.html#lineUpToolBars">TQMainWindow::lineUpToolBars</a>( bool keepNewLines = 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 & label, Dock = DockTop, bool newLine = false ) +<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="ntqmainwindow.html#removeToolBar">TQMainWindow::removeToolBar</a>( TQDockWindow *) @@ -337,9 +337,9 @@ new code. <li> <a href="ntqmessagebox.html#query">TQMessageBox::query</a>( const TQString & caption, const TQString & text, const TQString & yesButtonText = TQString::null, const TQString & 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 & str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const +<li> <a href="ntqregexp.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="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 @@ -356,7 +356,7 @@ new code. <li> TQTabDialog::selected( const TQString & 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 & str, int filemode ) -<li> <a href="ntqtoolbar.html#TQToolBar">TQToolBar::TQToolBar</a>( const TQString & label, <a href="ntqmainwindow.html">TQMainWindow</a> *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 ) +<li> <a href="ntqtoolbar.html#TQToolBar">TQToolBar::TQToolBar</a>( const TQString & 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 @@ -512,7 +512,7 @@ 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 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 +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="ntqregexp.html">TQRegExp</a> </h2> @@ -545,12 +545,12 @@ characters, e.g. <tt>|</tt>, but it doesn't hurt.) <p> Wildcard patterns need no conversion. Here are two examples: <pre> <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)" ); - wild.<a href="ntqregexp.html#setWildcard">setWildcard</a>( TRUE ); + wild.<a href="ntqregexp.html#setWildcard">setWildcard</a>( true ); </pre> <pre> - // TRUE as third argument means wildcard - <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)", FALSE, TRUE ); + // true as third argument means wildcard + <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)", false, true ); </pre> However, when they are used, make sure to use <a href="ntqregexp.html#exactMatch">TQRegExp::exactMatch</a>() @@ -564,8 +564,8 @@ string. Old code such as <pre> <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.<a href="ntqregexp.html#setCaseSensitive">setCaseSensitive</a>( false ); + rx.<a href="ntqregexp.html#setWildcard">setWildcard</a>( true ); rx = "beta"; </pre> @@ -587,7 +587,7 @@ which is what one expects. parameter list and was poorly named: <ul> <li> bool <a href="ntqregexp.html#match">TQRegExp::match</a>( const <a href="ntqstring.html">TQString</a> & str, int index = 0, -int * len = 0, bool indexIsStart = TRUE ) const +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() |
