Changeset 846 for trunk/tools/porting/src/tokenreplacements.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/tools/porting/src/tokenreplacements.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]) … … 127 127 int tokenIndex = currentIndex; 128 128 QByteArray tokenText; 129 //loop until we get a token contain g text or we pass the beginning/end of the source129 //loop until we get a token containg text or we pass the beginning/end of the source 130 130 tokenIndex += direction; 131 131 while(tokenText.isEmpty() && isValidIndex(tokenIndex)) { … … 147 147 return -1; 148 148 QByteArray tokenText; 149 //loop until we get a token contain g text or we pass the start of the source149 //loop until we get a token containg text or we pass the start of the source 150 150 tokenIndex += direction; 151 151 while(tokenText.isEmpty() && isValidIndex(tokenIndex)) { … … 267 267 return false; 268 268 // If nameUse is set we test if the nameUse refers to the correct declaration. 269 // This is done by checking the parentScope attri ute, wich returns the scope269 // This is done by checking the parentScope attriich returns the scope 270 270 // for the declaration associated with this name use. 271 271 const bool haveNameUseInfo = !attributes->attribute(sourceIndex, "nameUse").isEmpty(); … … 315 315 316 316 // If we have no name use info and the source and old scopes don't match, 317 // we generally don t't do a replace, unless the old scope is Qt and317 // we generally don't do a replace, unless the old scope is Qt and 318 318 // the source scope inherits Qt. For example, QWidget::ButtonState should 319 319 // be renamed to Qt::ButtonState.
Note:
See TracChangeset
for help on using the changeset viewer.