#include <qglobal.h>
#include "qpixmap.h"
#include "qpixmap_p.h"
#include "qbitmap.h"
#include "qimage.h"
#include "qwidget.h"
#include "qpainter.h"
#include "qdatastream.h"
#include "qbuffer.h"
#include "qapplication.h"
#include <private/qwidget_p.h>
#include "qevent.h"
#include "qfile.h"
#include "qfileinfo.h"
#include "qpixmapcache.h"
#include "qdatetime.h"
#include "qimagereader.h"
#include "qimagewriter.h"
#include "qpaintengine.h"
#include "qx11info_x11.h"
#include <private/qt_x11_p.h>
Include dependency graph for qpixmap.cpp:

Go to the source code of this file.
Typedefs | |
| typedef void(*) | _qt_pixmap_cleanup_hook (int) |
Functions | |
| Q_GUI_EXPORT qint64 | qt_pixmap_id (const QPixmap &pixmap) |
| static void | sendResizeEvents (QWidget *target) |
Variables | |
| Q_GUI_EXPORT _qt_pixmap_cleanup_hook | qt_pixmap_cleanup_hook = 0 |
| typedef void(*) _qt_pixmap_cleanup_hook(int) |
Definition at line 52 of file qpixmap.cpp.
| static void sendResizeEvents | ( | QWidget * | target | ) | [static] |
Definition at line 748 of file qpixmap.cpp.
References QObject::children(), i, QObject::QObjectList(), QCoreApplication::sendEvent(), QWidget::size(), and Qt::WA_PendingResizeEvent.
Referenced by QPixmap::grabWidget(), and sendResizeEvents().
00749 { 00750 QResizeEvent e(target->size(), QSize()); 00751 QApplication::sendEvent(target, &e); 00752 00753 const QObjectList children = target->children(); 00754 for (int i = 0; i < children.size(); ++i) { 00755 QWidget *child = static_cast<QWidget*>(children.at(i)); 00756 if (child->isWidgetType() && !child->isWindow() && child->testAttribute(Qt::WA_PendingResizeEvent)) 00757 sendResizeEvents(child); 00758 } 00759 }
Here is the call graph for this function:

| Q_GUI_EXPORT _qt_pixmap_cleanup_hook qt_pixmap_cleanup_hook = 0 |
Definition at line 53 of file qpixmap.cpp.
Referenced by QGLContextPrivate::bindTexture(), QPixmap::deref(), and QGLContext::~QGLContext().
1.5.1