Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/image/qpixmapdata_p.h

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    118118    inline int depth() const { return d; }
    119119    inline bool isNull() const { return is_null; }
     120    inline qint64 cacheKey() const {
     121        int classKey = id;
     122        if (classKey >= 1024)
     123            classKey = -(classKey >> 10);
     124        return ((((qint64) classKey) << 56)
     125                | (((qint64) ser_no) << 32)
     126                | ((qint64) detach_no));
     127    }
    120128
    121129#if defined(Q_OS_SYMBIAN)
Note: See TracChangeset for help on using the changeset viewer.