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/qimagepixmapcleanuphooks_p.h

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    5959
    6060typedef void (*_qt_image_cleanup_hook_64)(qint64);
    61 typedef void (*_qt_pixmap_cleanup_hook_pm)(QPixmap*);
     61typedef void (*_qt_pixmap_cleanup_hook_pmd)(QPixmapData*);
     62
    6263
    6364class QImagePixmapCleanupHooks;
     
    7273    static void enableCleanupHooks(QPixmapData *pixmapData);
    7374
    74     // Gets called when a pixmap is about to be modified:
    75     void addPixmapModificationHook(_qt_pixmap_cleanup_hook_pm);
     75    // Gets called when a pixmap is about to be modified:
     76    void addPixmap);
    7677
    77     // Gets called when a pixmap is about to be destroyed:
    78     void addPixmapDestructionHook(_qt_pixmap_cleanup_hook_pm);
     78    // Gets called when a pixmap is about to be destroyed:
     79    void addPixmapD);
    7980
    8081    // Gets called when an image is about to be modified or destroyed:
    8182    void addImageHook(_qt_image_cleanup_hook_64);
    8283
    83     void removePixmapModificationHook(_qt_pixmap_cleanup_hook_pm);
    84     void removePixmapDestructionHook(_qt_pixmap_cleanup_hook_pm);
     84    void removePixmap);
     85    void removePixmapD);
    8586    void removeImageHook(_qt_image_cleanup_hook_64);
    8687
    87     static void executePixmapModificationHooks(QPixmap*);
    88     static void executePixmapDestructionHooks(QPixmap*);
     88    static void executePixmap*);
     89    static void executePixmapD*);
    8990    static void executeImageHooks(qint64 key);
    9091
    9192private:
    9293    QList<_qt_image_cleanup_hook_64> imageHooks;
    93     QList<_qt_pixmap_cleanup_hook_pm> pixmapModificationHooks;
    94     QList<_qt_pixmap_cleanup_hook_pm> pixmapDestructionHooks;
     94    QList<_qt_pixmap_cleanup_hook_pm> pixmapModificationHooks;
     95    QList<_qt_pixmap_cleanup_hook_pm> pixmapDestructionHooks;
    9596};
    9697
Note: See TracChangeset for help on using the changeset viewer.