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/codemarker.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)
     
    178178{
    179179    if (sizeof(const Node *) == sizeof(ulong)) {
    180         return QString::number(reinterpret_cast<ulong>(node));
     180        return QString::number(reinterpret_cast<quintptr>(node));
    181181    }
    182182    else {
     
    258258{
    259259    QString tag;
     260    QString name = node->name();
    260261
    261262    switch (node->type()) {
     
    278279        tag = QLatin1String("@property");
    279280        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
    280290    default:
    281291        tag = QLatin1String("@unknown");
    282292        break;
    283293    }
    284     return QLatin1Char('<') + tag + QLatin1Char('>') + protect(node->name())
     294    return QLatin1Char('<') + tag + QLatin1Char('>') + protect(name)
    285295        + QLatin1String("</") + tag + QLatin1Char('>');
    286296}
     
    458468{
    459469    if (!fs.isEmpty()) {
    460         Section section(fs.name,fs.singularMember,fs.pluralMember);
     470        Section section(fs.name,fs.divClass,fs.singularMember,fs.pluralMember);
    461471        section.members = fs.memberMap.values();
    462472        section.reimpMembers = fs.reimpMemberMap.values();
     
    615625  the specified QmlClassNode.
    616626 */
    617 QList<Section> CodeMarker::qmlSections(const QmlClassNode* , SynopsisStyle )
     627QList<Section> CodeMarker::qmlSections(const QmlClassNode* ,
     628                                       SynopsisStyle ,
     629                                       const Tree* )
    618630{
    619631    return QList<Section>();
     
    621633#endif
    622634
     635const Node* CodeMarker::resolveTarget(const QString& ,
     636                                      const Tree* ,
     637                                      const Node* ,
     638                                      const Node* )
     639{
     640    return 0;
     641}
     642
    623643QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.