diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-21 17:00:25 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-22 09:41:10 +0200 |
commit | 18c1d671371ef8d94506a9a6dd6ee3680ef80fd3 (patch) | |
tree | f70ea0d730e39b7081b184778180eb616a670773 /src/gui/kernel/qevent.h | |
parent | dc40eaba1f2fa5db9e4bb56f3e624cd10fd6dc6b (diff) |
Made QExposeEvent public and added exposeEvent() in QWindow.
This is needed for applications that use QBackingStore directly.
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index fc9e8118fd..809a3d6371 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -300,6 +300,17 @@ protected: friend class QCoreApplication; }; +class Q_GUI_EXPORT QExposeEvent : public QEvent +{ +public: + QExposeEvent(const QRegion &rgn); + ~QExposeEvent(); + + inline const QRegion ®ion() const { return rgn; } + +protected: + QRegion rgn; +}; class Q_GUI_EXPORT QResizeEvent : public QEvent { |