Changeset 651 for trunk/src/gui/image/qimagepixmapcleanuphooks_p.h
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/image/qimagepixmapcleanuphooks_p.h
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 59 59 60 60 typedef void (*_qt_image_cleanup_hook_64)(qint64); 61 typedef void (*_qt_pixmap_cleanup_hook_pm)(QPixmap*); 61 typedef void (*_qt_pixmap_cleanup_hook_pmd)(QPixmapData*); 62 62 63 63 64 class QImagePixmapCleanupHooks; … … 72 73 static void enableCleanupHooks(QPixmapData *pixmapData); 73 74 74 // Gets called when a pixmap is about to be modified:75 void addPixmap ModificationHook(_qt_pixmap_cleanup_hook_pm);75 // Gets called when a pixmap is about to be modified: 76 void addPixmap); 76 77 77 // Gets called when a pixmap is about to be destroyed:78 void addPixmapD estructionHook(_qt_pixmap_cleanup_hook_pm);78 // Gets called when a pixmap is about to be destroyed: 79 void addPixmapD); 79 80 80 81 // Gets called when an image is about to be modified or destroyed: 81 82 void addImageHook(_qt_image_cleanup_hook_64); 82 83 83 void removePixmap ModificationHook(_qt_pixmap_cleanup_hook_pm);84 void removePixmapD estructionHook(_qt_pixmap_cleanup_hook_pm);84 void removePixmap); 85 void removePixmapD); 85 86 void removeImageHook(_qt_image_cleanup_hook_64); 86 87 87 static void executePixmap ModificationHooks(QPixmap*);88 static void executePixmapD estructionHooks(QPixmap*);88 static void executePixmap*); 89 static void executePixmapD*); 89 90 static void executeImageHooks(qint64 key); 90 91 91 92 private: 92 93 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; 95 96 }; 96 97
Note:
See TracChangeset
for help on using the changeset viewer.