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/tools/porting/src/tokenreplacements.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])
     
    127127    int tokenIndex = currentIndex;
    128128    QByteArray tokenText;
    129     //loop until we get a token containg text or we pass the beginning/end of the source
     129    //loop until we get a token containg text or we pass the beginning/end of the source
    130130    tokenIndex += direction;
    131131    while(tokenText.isEmpty() && isValidIndex(tokenIndex)) {
     
    147147        return -1;
    148148    QByteArray tokenText;
    149    //loop until we get a token containg text or we pass the start of the source
     149   //loop until we get a token containg text or we pass the start of the source
    150150    tokenIndex += direction;
    151151    while(tokenText.isEmpty() && isValidIndex(tokenIndex)) {
     
    267267        return false;
    268268    // If nameUse is set we test if the nameUse refers to the correct declaration.
    269     // This is done by checking the parentScope attriute, wich returns the scope
     269    // This is done by checking the parentScope attriich returns the scope
    270270    // for the declaration associated with this name use.
    271271    const bool haveNameUseInfo = !attributes->attribute(sourceIndex, "nameUse").isEmpty();
     
    315315
    316316    // If we have no name use info and the source and old scopes don't match,
    317     // we generally dont't do a replace, unless the old scope is Qt and
     317    // we generally don't do a replace, unless the old scope is Qt and
    318318    // the source scope inherits Qt. For example, QWidget::ButtonState should
    319319    // be renamed to Qt::ButtonState.
Note: See TracChangeset for help on using the changeset viewer.