Changeset 846 for trunk/tools/qdoc3/codemarker.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/codemarker.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) … … 178 178 { 179 179 if (sizeof(const Node *) == sizeof(ulong)) { 180 return QString::number(reinterpret_cast< ulong>(node));180 return QString::number(reinterpret_cast<quintptr>(node)); 181 181 } 182 182 else { … … 258 258 { 259 259 QString tag; 260 QString name = node->name(); 260 261 261 262 switch (node->type()) { … … 278 279 tag = QLatin1String("@property"); 279 280 break; 281 #ifdef QDOC_QML 282 case Node::Fake: 283 if (node->subType() == Node::QmlClass) { 284 if (node->name().startsWith(QLatin1String("QML:"))) 285 name = name.mid(4); // remove the "QML:" prefix 286 } 287 tag = QLatin1String("@property"); 288 break; 289 #endif 280 290 default: 281 291 tag = QLatin1String("@unknown"); 282 292 break; 283 293 } 284 return QLatin1Char('<') + tag + QLatin1Char('>') + protect(n ode->name())294 return QLatin1Char('<') + tag + QLatin1Char('>') + protect(name) 285 295 + QLatin1String("</") + tag + QLatin1Char('>'); 286 296 } … … 458 468 { 459 469 if (!fs.isEmpty()) { 460 Section section(fs.name,fs. singularMember,fs.pluralMember);470 Section section(fs.name,fs.divClass,fs.singularMember,fs.pluralMember); 461 471 section.members = fs.memberMap.values(); 462 472 section.reimpMembers = fs.reimpMemberMap.values(); … … 615 625 the specified QmlClassNode. 616 626 */ 617 QList<Section> CodeMarker::qmlSections(const QmlClassNode* , SynopsisStyle ) 627 QList<Section> CodeMarker::qmlSections(const QmlClassNode* , 628 SynopsisStyle , 629 const Tree* ) 618 630 { 619 631 return QList<Section>(); … … 621 633 #endif 622 634 635 const Node* CodeMarker::resolveTarget(const QString& , 636 const Tree* , 637 const Node* , 638 const Node* ) 639 { 640 return 0; 641 } 642 623 643 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.