Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/widgets/qtextedit.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    774774    remains the owner of the object.
    775775
    776     If the current document is a child of the text editor, then it is deleted.
     776    .
    777777
    778778    \sa document()
     
    12131213            if (QApplication::keypadNavigationEnabled()) {
    12141214                if (!hasEditFocus() && !(e->modifiers() & Qt::ControlModifier)) {
    1215                     if (e->text()[0].isPrint()) {
     1215                    if (e->text()[0].isPrint())
    12161216                        setEditFocus(true);
    1217 #ifndef Q_OS_SYMBIAN
    1218                         clear();
    1219 #endif
    1220                     } else {
     1217                    else {
    12211218                        e->ignore();
    12221219                        return;
     
    16781675    if (d->control->textInteractionFlags() & Qt::TextEditable
    16791676        && QApplication::keypadNavigationEnabled()
    1680         && !hasEditFocus()) {
     1677        && !hasEditFocus())
    16811678        setEditFocus(true);
    1682 #ifndef Q_OS_SYMBIAN
    1683         selectAll();    // so text is replaced rather than appended to
    1684 #endif
    1685     }
    16861679#endif
    16871680    d->sendControlEvent(e);
Note: See TracChangeset for help on using the changeset viewer.