From 42957a3f812a1db64a9ae452baa2d3fbc35f2466 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Aug 2024 22:02:11 +0900 Subject: Rename more widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/porting.html | 56 +++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'doc/html/porting.html') diff --git a/doc/html/porting.html b/doc/html/porting.html index 6f431969..edfca2ae 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -335,20 +335,20 @@ new code.
  • TQFontDatabase::weight( const TQString & family, const TQString & style, const TQString & ) const
  • TQLabel::autoResize() const
  • TQLabel::setAutoResize( bool enable ) -
  • TQListBox::cellHeight( int i ) const +
  • TQListBox::cellHeight( int i ) const
  • TQListBox::cellHeight() const -
  • TQListBox::cellWidth() const -
  • TQListBox::findItem( int yPos ) const -
  • TQListBox::inSort( const TQListBoxItem *lbi ) +
  • TQListBox::cellWidth() const +
  • TQListBox::findItem( int yPos ) const +
  • TQListBox::inSort( const TQListBoxItem *lbi )
  • TQListBox::inSort( const TQString & text ) -
  • TQListBox::itemYPos( int index, int *yPos ) const -
  • TQListBox::numCols() const -
  • TQListBox::totalHeight() const -
  • TQListBox::totalWidth() const -
  • TQListBoxItem::current() const -
  • TQListBoxItem::selected() const -
  • TQListView::removeItem( TQListViewItem *item ) -
  • TQListViewItem::removeItem( TQListViewItem *item ) +
  • TQListBox::itemYPos( int index, int *yPos ) const +
  • TQListBox::numCols() const +
  • TQListBox::totalHeight() const +
  • TQListBox::totalWidth() const +
  • TQListBoxItem::current() const +
  • TQListBoxItem::selected() const +
  • TQListView::removeItem( TQListViewItem *item ) +
  • TQListViewItem::removeItem( TQListViewItem *item )
  • TQMainWindow::addToolBar( TQDockWindow *, Dock = DockTop, bool newLine = FALSE )
  • TQMainWindow::addToolBar( TQDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE )
  • TQMainWindow::lineUpToolBars( bool keepNewLines = FALSE ) @@ -371,10 +371,10 @@ new code.
  • TQStyle::defaultFrameWidth() const
  • TQStyle::scrollBarExtent() const
  • TQStyle::tabbarMetrics( const TQWidget *t, int & hf, int & vf, int & ov ) const -
  • TQTabDialog::isTabEnabled( const char *name ) const -
  • TQTabDialog::selected( const TQString & ) +
  • TQTabDialog::isTabEnabled( const char *name ) const +
  • TQTabDialog::selected( const TQString & )
  • TQTabDialog::selected( const TQString & tabLabel ) -
  • TQTabDialog::setTabEnabled( const char *name, bool enable ) +
  • TQTabDialog::setTabEnabled( const char *name, bool enable )
  • TQTextStream::TQTextStream( TQString & str, int filemode )
  • TQToolBar::TQToolBar( const TQString & label, TQMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 )
  • TQToolTip::enabled() @@ -390,7 +390,7 @@ new code.
  • TQWidget::setBackgroundPixmap( const TQPixmap & pm )
  • TQWidget::setFont( const TQFont & f, bool )
  • TQWidget::setPalette( const TQPalette & p, bool ) -
  • TQWizard::setFinish( TQWidget *, bool ) +
  • TQWizard::setFinish( TQWidget *, bool )
  • TQXmlInputSource::TQXmlInputSource( TQFile & file )
  • TQXmlInputSource::TQXmlInputSource( TQTextStream & stream )
  • TQXmlReader::parse( const TQXmlInputSource & input ) @@ -424,10 +424,10 @@ names are no longer avaialable. TQStack TQPtrStack <tqptrstack.h> TQVector TQPtrVector <tqptrvector.h> -

    TQButtonGroup +

    TQButtonGroup

    -

    In TQt 2.x, the function TQButtonGroup::selected() returns the selected -radio button (TQRadioButton). In TQt 3.0, it returns the selected toggle button (TQButton::toggleButton), a more general concept. +

    In TQt 2.x, the function TQButtonGroup::selected() returns the selected +radio button (TQRadioButton). In TQt 3.0, it returns the selected toggle button (TQButton::toggleButton), a more general concept. This might affect programs that use TQButtonGroups that contain a mixture of radio buttons and non-radio (e.g. TQCheckBox) toggle buttons.

    TQDate @@ -475,7 +475,7 @@ for the echo parameter.

    The definitions of TQGLayoutIterator, TQLayout, TQLayoutItem, TQLayoutIterator, TQSpacerItem and TQWidgetItem have been moved from <ntqabstractlayout.h> to <ntqlayout.h>. The header <ntqabstractlayout.h> now includes <ntqlayout.h> for compatibility. It might be removed in a future version. -

    TQListViewItem +

    TQListViewItem

    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 @@ -654,8 +654,8 @@ or a plain TQPtrList instead.

    TQTableView

    The TQTableView class has been obsoleted and is no longer a part of the -TQt API. Either use the powerful TQTable class or the simplistic -TQGridView in any new code you create. If you really need the old table +TQt API. Either use the powerful TQTable class or the simplistic +TQGridView in any new code you create. If you really need the old table view for compatibility you can find it in $TQTDIR/src/attic/qttableview.{cpp,h}. 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 @@ -764,7 +764,7 @@ 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 TQCheckBox, TQComboBox, TQPushButton, TQRadioButton and TQTabWidget. +are TQCheckBox, TQComboBox, TQPushButton, TQRadioButton and TQTabWidget.

    Bezier Curves

    The function names for Bezier curves in TQPainter and TQPointArray have @@ -777,8 +777,8 @@ replace these calls with

  • TQPointArray TQPointArray::cubicBezier() const respectively. Neither the arguments nor the resulting curve have changed. -

    Locale-aware String Comparisons in TQIconView, TQListBox, -TQListView and TQTable +

    Locale-aware String Comparisons in TQIconView, TQListBox, +TQListView and TQTable

    In TQt 2.x, TQString only provided string comparisons using the Unicode values of the characters of a string. This is efficient and reliable, @@ -786,11 +786,11 @@ but it is not the appropriate order for most languages. For example, French users expect 'é' (e acute) to be treated essentially as 'e' and not put after 'z'.

    In TQt 3.0, TQString::localeAwareCompare() implements locale aware -string comparisions on certain platforms. The classes TQIconView, TQListBox, TQListView and TQTable now use +string comparisions on certain platforms. The classes TQIconView, TQListBox, TQListView and TQTable now use TQString::localeAwareCompare() instead of TQString::compare(). If you want to control the behaviour yourself you can always reimplement -TQIconViewItem::compare(), TQListBox::text(), TQListViewItem::compare() -or TQTableItem::key() as appropriate. +TQIconViewItem::compare(), TQListBox::text(), TQListViewItem::compare() +or TQTableItem::key() as appropriate.


    -- cgit v1.2.1