summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/qdirectfbwindowsurface.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-12-15 00:05:09 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-12-15 00:05:09 (GMT)
commitae81a6d27fe090b63fa04ddcb0424e2058a83110 (patch)
treed044164a9f4aaa3ae875c2c6859573fc1259168d /src/plugins/platforms/directfb/qdirectfbwindowsurface.h
parent1a5d32b9729d887ef9e25f6994e5f78466333d6a (diff)
parent8d856c470fd4a5abea3e0047c2837a7e45831812 (diff)
downloadQt-ae81a6d27fe090b63fa04ddcb0424e2058a83110.zip
Qt-ae81a6d27fe090b63fa04ddcb0424e2058a83110.tar.gz
Qt-ae81a6d27fe090b63fa04ddcb0424e2058a83110.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team: Default to QDir::homePath() in Symbian native file dialogs directfb: Backport the work from QtBase to Qt 4.8 [blitter] Work on tst_QPixmap::clear() [blitter] Use QScopedPointer for the engine and blittable [blitter] Generate a new serial number when resizing the [blitter] Fix memory leak in the blitter paintengine Fix NTLM authentication with email address Fix null pointer dereference in NTLM authentication
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfbwindowsurface.h')
-rw-r--r--src/plugins/platforms/directfb/qdirectfbwindowsurface.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbwindowsurface.h b/src/plugins/platforms/directfb/qdirectfbwindowsurface.h
index 7f1140d..dd0354d 100644
--- a/src/plugins/platforms/directfb/qdirectfbwindowsurface.h
+++ b/src/plugins/platforms/directfb/qdirectfbwindowsurface.h
@@ -44,16 +44,16 @@
#include <QtGui/private/qwindowsurface_p.h>
#include <private/qpixmap_blitter_p.h>
-
#include <directfb.h>
+#include "qdirectfbconvenience.h"
+
QT_BEGIN_NAMESPACE
class QDirectFbWindowSurface : public QWindowSurface
{
public:
- QDirectFbWindowSurface(QWidget *window, WId wid);
- ~QDirectFbWindowSurface();
+ QDirectFbWindowSurface(QWidget *window);
QPaintDevice *paintDevice();
void flush(QWidget *widget, const QRegion &region, const QPoint &offset);
@@ -66,10 +66,9 @@ public:
private:
void lockSurfaceToImage();
- QPixmap *m_pixmap;
+ QScopedPointer<QPixmap> m_pixmap;
QBlittablePixmapData *m_pmdata;
-
- IDirectFBSurface *m_dfbSurface;
+ QDirectFBPointer<IDirectFBSurface> m_dfbSurface;
};
QT_END_NAMESPACE