diff options
Diffstat (limited to 'doc/porting3.doc')
-rw-r--r-- | doc/porting3.doc | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/doc/porting3.doc b/doc/porting3.doc index a099d0fef..9102d49f7 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -180,12 +180,26 @@ have been changed: \i \c _CC_*_ becomes \c Q_CC_* \endlist +\section1 Removed Properties + +\list +\i QLineEdit::hasMarkedText. Use TQLineEdit::hasSelectedText instead. +\i QLineEdit::markedText. Use TQLineEdit::selectedText instead. +\i QToolButton::offIconSet. Use TQToolButton::iconSet instead. +\i QToolButton::onIconSet. Use TQToolButton::iconSet instead. +\endlist + \section1 Removed Functions All these functions have been removed in TQt 3.x: \list \i QFont::charSet() \i QFont::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 QMenuBar::setActItem() \i QMenuBar::setWindowsAltMode() \i QObject::initMetaObject() @@ -198,6 +212,12 @@ All these functions have been removed in TQt 3.x: \i QString::visual() \i QStyle::set...() functions \i QStyle::drawArrow() +\i QToolButton::iconSet(bool on) const +\i QToolButton::offIconSet() const +\i QToolButton::onIconSet() const +\i QToolButton::setIconSet(const QIconSet \&set, bool on) +\i QToolButton::setOffIconSet(const QIconSet \&) +\i QToolButton::setOnIconSet(const QIconSet \&) \i QWidget::setFontPropagation() \i QWidget::setPalettePropagation() \endlist @@ -261,11 +281,6 @@ new code. \i QFontDatabase::weight( const QString \& family, const QString \& style, const QString \& ) const \i QLabel::autoResize() const \i QLabel::setAutoResize( bool enable ) -\i QLineEdit::cursorLeft( bool mark, int steps = 1 ) -\i QLineEdit::cursorRight( bool mark, int steps = 1 ) -\i QLineEdit::hasMarkedText() const -\i QLineEdit::markedText() const -\i QLineEdit::repaintArea( int, int ) \i QListBox::cellHeight( int i ) const \i QListBox::cellHeight() const \i QListBox::cellWidth() const @@ -313,12 +328,6 @@ new code. \i QTabDialog::setTabEnabled( const char *name, bool enable ) \i QTextStream::QTextStream( QString \& str, int filemode ) \i QToolBar::QToolBar( const QString \& label, QMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 ) -\i QToolButton::iconSet( bool on ) const -\i QToolButton::offIconSet() const -\i QToolButton::onIconSet() const -\i QToolButton::setIconSet( const QIconSet \& set, bool on ) -\i QToolButton::setOffIconSet( const QIconSet \& ) -\i QToolButton::setOnIconSet( const QIconSet \& ) \i QToolTip::enabled() \i QToolTip::setEnabled( bool enable ) \i QTranslator::find( const char *context, const char *sourceText, const char *comment = 0 ) const |