Changeset 846 for trunk/tools/qdoc3/doc.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/qdoc3/doc.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 2747 2747 } 2748 2748 2749 #if notyet // ###2750 Doc::SectioningUnit Doc::sectioningUnit() const2751 {2752 if (priv == 0 || priv->extra == 0) {2753 return DocPrivateExtra().sectioningUnit;2754 }2755 else {2756 return priv->extra->sectioningUnit;2757 }2758 }2759 #endif2760 2761 2749 const QSet<QString> &Doc::parameterNames() const 2762 2750 { … … 3037 3025 result.reserve(title.size()); 3038 3026 3039 bool slurping= false;3027 bool dashAppended = false; 3040 3028 bool begun = false; 3041 3029 int lastAlnum = 0; … … 3048 3036 result += QLatin1Char(c); 3049 3037 begun = true; 3050 slurping= false;3038 dashAppended = false; 3051 3039 lastAlnum = result.size(); 3052 3040 } 3053 else if (! slurping) {3041 else if (!dashAppended) { 3054 3042 if (begun) 3055 3043 result += QLatin1Char('-'); 3056 slurping= true;3044 dashAppended = true; 3057 3045 } 3046 #if 0 3047 // This was screwing things up. 3058 3048 else { 3059 // !alnum && slurping -> nothin 3049 result += title[i]; 3050 lastAlnum = result.size(); 3060 3051 } 3052 #endif 3061 3053 } 3062 3054 result.truncate(lastAlnum);
Note:
See TracChangeset
for help on using the changeset viewer.