diff options
Diffstat (limited to 'doc/porting3.doc')
-rw-r--r-- | doc/porting3.doc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/porting3.doc b/doc/porting3.doc index 39e75beb2..5437d25bf 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -183,8 +183,8 @@ have been changed: \section1 Removed Properties \list -\i QLineEdit::hasMarkedText. Use TQLineEdit::hasSelectedText instead. -\i QLineEdit::markedText. Use TQLineEdit::selectedText instead. +\i TQLineEdit::hasMarkedText. Use TQLineEdit::hasSelectedText instead. +\i TQLineEdit::markedText. Use TQLineEdit::selectedText instead. \i TQToolButton::offIconSet. Use TQToolButton::iconSet instead. \i TQToolButton::onIconSet. Use TQToolButton::iconSet instead. \endlist @@ -197,11 +197,11 @@ All these functions have been removed in TQt 3.x: \i QButton::setAutoResize(bool) \i TQFont::charSet() \i TQFont::setCharSet() -\i QLineEdit::cursorLeft(bool mark, int steps = 1). Use TQLineEdit::cursorBackward() instead. -\i QLineEdit::cursorRight(bool mark, int steps = 1). Use TQLineEdit::cursorForward() instead. -\i QLineEdit::hasMarkedText() const. Use TQLineEdit::hasSelectedText() instead. -\i QLineEdit::markedText() const. Use TQLineEdit::selectedText() instead. -\i QLineEdit::repaintArea(int, int). Use TQLineEdit::update() instead. +\i TQLineEdit::cursorLeft(bool mark, int steps = 1). Use TQLineEdit::cursorBackward() instead. +\i TQLineEdit::cursorRight(bool mark, int steps = 1). Use TQLineEdit::cursorForward() instead. +\i TQLineEdit::hasMarkedText() const. Use TQLineEdit::hasSelectedText() instead. +\i TQLineEdit::markedText() const. Use TQLineEdit::selectedText() instead. +\i TQLineEdit::repaintArea(int, int). Use TQLineEdit::update() instead. \i TQMenuBar::setActItem() \i TQMenuBar::setWindowsAltMode() \i TQObject::initMetaObject() @@ -214,8 +214,8 @@ All these functions have been removed in TQt 3.x: \i TQSignal::isBlocked() const \i TQSignal::parameter() const. Use TQSignal::value() instead. \i TQSignal::setParameter(int value). Use TQSignal::setValue() instead. -\i QSpinBox::downButton() -\i QSpinBox::upButton() +\i TQSpinBox::downButton() +\i TQSpinBox::upButton() \i TQString::basicDirection() \i TQString::visual() \i TQStyle::set...() functions @@ -261,8 +261,8 @@ new code. \i TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList\<TQPixmap\> list, TQPtrList\<TQPoint\> hotspots ) \i TQCanvasPixmapArray::operator!() \i TQColorGroup::TQColorGroup( const TQColor \& foreground, const TQColor \& background, const TQColor \& light, const TQColor \& dark, const TQColor \& mid, const TQColor \& text, const TQColor \& base ) -\i QComboBox::autoResize() const -\i QComboBox::setAutoResize( bool ) +\i TQComboBox::autoResize() const +\i TQComboBox::setAutoResize( bool ) \i TQDate::dayName( int weekday ) \i TQDate::monthName( int month ) \i TQDir::encodedEntryList( const TQString \& nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const @@ -315,8 +315,8 @@ new code. \i QMessageBox::query( const TQString \& caption, const TQString \& text, const TQString \& yesButtonText = TQString::null, const TQString \& noButtonText = TQString::null, TQWidget *parent = 0, const char *= 0 ) \i QMessageBox::standardIcon( Icon icon, GUIStyle style ) \i TQRegExp::match( const TQString \& str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const -\i QScrollView::childIsVisible( TQWidget *child ) -\i QScrollView::showChild( TQWidget *child, bool show = TRUE ) +\i TQScrollView::childIsVisible( TQWidget *child ) +\i TQScrollView::showChild( TQWidget *child, bool show = TRUE ) \i TQSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion \& clipRegion, const TQColorGroup \& cg, const TQBrush *paper = 0 ) const \i TQString::ascii() const \i TQString::data() const @@ -386,10 +386,10 @@ names are no longer avaialable. \section1 QButtonGroup In TQt 2.x, the function QButtonGroup::selected() returns the selected -\e radio button (QRadioButton). In TQt 3.0, it returns the selected \e +\e radio button (TQRadioButton). In TQt 3.0, it returns the selected \e toggle button (\l QButton::toggleButton), a more general concept. This might affect programs that use QButtonGroups that contain a -mixture of radio buttons and non-radio (e.g. QCheckBox) toggle buttons. +mixture of radio buttons and non-radio (e.g. TQCheckBox) toggle buttons. \section1 TQDate @@ -434,7 +434,7 @@ parameter list. The two static getText(...) methods in QInputDialog have been merged. The \c echo parameter is the third parameter and defaults to -QLineEdit::Normal. +TQLineEdit::Normal. If you used calls to QInputDialog::getText(...) that provided more than the first two required parameters you will must add a value @@ -771,7 +771,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 QCheckBox, QComboBox, QPushButton, QRadioButton and QTabWidget. +are TQCheckBox, TQComboBox, TQPushButton, TQRadioButton and QTabWidget. \section1 Bezier Curves |