Changeset 846 for trunk/src/gui/widgets/qtextedit.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/widgets/qtextedit.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 774 774 remains the owner of the object. 775 775 776 If the current document is a child of the text editor, then it is deleted.776 . 777 777 778 778 \sa document() … … 1213 1213 if (QApplication::keypadNavigationEnabled()) { 1214 1214 if (!hasEditFocus() && !(e->modifiers() & Qt::ControlModifier)) { 1215 if (e->text()[0].isPrint()) {1215 if (e->text()[0].isPrint()) 1216 1216 setEditFocus(true); 1217 #ifndef Q_OS_SYMBIAN 1218 clear(); 1219 #endif 1220 } else { 1217 else { 1221 1218 e->ignore(); 1222 1219 return; … … 1678 1675 if (d->control->textInteractionFlags() & Qt::TextEditable 1679 1676 && QApplication::keypadNavigationEnabled() 1680 && !hasEditFocus()) {1677 && !hasEditFocus()) 1681 1678 setEditFocus(true); 1682 #ifndef Q_OS_SYMBIAN1683 selectAll(); // so text is replaced rather than appended to1684 #endif1685 }1686 1679 #endif 1687 1680 d->sendControlEvent(e);
Note:
See TracChangeset
for help on using the changeset viewer.