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/qdoc3/doc.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    27472747}
    27482748
    2749 #if notyet // ###
    2750 Doc::SectioningUnit Doc::sectioningUnit() const
    2751 {
    2752     if (priv == 0 || priv->extra == 0) {
    2753         return DocPrivateExtra().sectioningUnit;
    2754     }
    2755     else {
    2756         return priv->extra->sectioningUnit;
    2757     }
    2758 }
    2759 #endif
    2760 
    27612749const QSet<QString> &Doc::parameterNames() const
    27622750{
     
    30373025    result.reserve(title.size());
    30383026
    3039     bool slurping = false;
     3027    bool dashAppended = false;
    30403028    bool begun = false;
    30413029    int lastAlnum = 0;
     
    30483036            result += QLatin1Char(c);
    30493037            begun = true;
    3050             slurping = false;
     3038            dashAppended = false;
    30513039            lastAlnum = result.size();
    30523040        }
    3053         else if (!slurping) {
     3041        else if (!dashAppended) {
    30543042            if (begun)
    30553043                result += QLatin1Char('-');
    3056             slurping = true;
     3044            dashAppended = true;
    30573045        }
     3046#if 0
     3047        // This was screwing things up.
    30583048        else {
    3059             // !alnum && slurping -> nothin
     3049            result += title[i];
     3050            lastAlnum = result.size();
    30603051        }
     3052#endif       
    30613053    }
    30623054    result.truncate(lastAlnum);
Note: See TracChangeset for help on using the changeset viewer.