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/src/tools/moc/moc.h

    r769 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)
     
    5656struct Type
    5757{
    58     enum ReferenceType { NoReference, Reference, Pointer };
     58    enum ReferenceType { NoReference, Reference, RValueReference, Pointer };
    5959
    6060    inline Type() : isVolatile(false), isScoped(false), firstToken(NOTOKEN), referenceType(NoReference) {}
     
    239239
    240240    void checkSuperClasses(ClassDef *def);
     241    void checkProperties(ClassDef* cdef);
    241242};
    242243
    243244inline QByteArray noRef(const QByteArray &type)
    244245{
    245     if (type.endsWith('&'))
     246    if (type.endsWith('&')) {
     247        if (type.endsWith("&&"))
     248            return type.left(type.length()-2);
    246249        return type.left(type.length()-1);
     250    }
    247251    return type;
    248252}
Note: See TracChangeset for help on using the changeset viewer.