Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/image/qimagepixmapcleanuphooks.cpp

    r651 r769  
    9797{
    9898    QImagePixmapCleanupHooks *h = qt_image_and_pixmap_cleanup_hooks();
     99
     100
     101
     102
     103
    99104    for (int i = 0; i < h->pixmapModificationHooks.count(); ++i)
    100105        h->pixmapModificationHooks[i](pmd);
     
    107112{
    108113    QImagePixmapCleanupHooks *h = qt_image_and_pixmap_cleanup_hooks();
     114
     115
     116
     117
     118
    109119    for (int i = 0; i < h->pixmapDestructionHooks.count(); ++i)
    110120        h->pixmapDestructionHooks[i](pmd);
     
    123133}
    124134
    125 void QImagePixmapCleanupHooks::enableCleanupHooks(const QPixmap &pixmap)
    126 {
    127     enableCleanupHooks(const_cast<QPixmap &>(pixmap).data_ptr().data());
    128 }
    129135
    130136void QImagePixmapCleanupHooks::enableCleanupHooks(QPixmapData *pixmapData)
    131137{
    132138    pixmapData->is_cached = true;
     139
     140
     141
     142
     143
    133144}
    134145
     
    138149}
    139150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
    140163QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.