// implemented in qshortcut.cpp
bool qWidgetShortcutContextMatcher(QObject *object, Qt::ShortcutContext context);
+class QUpdateLaterEvent : public QEvent
+{
+public:
+ explicit QUpdateLaterEvent(const QRegion& paintRegion)
+ : QEvent(UpdateLater), m_region(paintRegion)
+ {
+ }
+
+ ~QUpdateLaterEvent()
+ {
+ }
+
+ inline const QRegion ®ion() const { return m_region; }
+
+protected:
+ QRegion m_region;
+};
+
+
class Q_AUTOTEST_EXPORT QWidgetBackingStoreTracker
{
// Regular pointers (keep them together to avoid gaps on 64 bits architectures).
QIcon *icon; // widget icon
- QPixmap *iconPixmap;
QWidgetBackingStoreTracker backingStoreTracker;
QBackingStore *backingStore;
QPainter *sharedPainter;
bool close_helper(CloseMode mode);
void setWindowIcon_helper();
- void setWindowIcon_sys(bool forceReset = false);
+ void setWindowIcon_sys();
void setWindowOpacity_sys(qreal opacity);
void adjustQuitOnCloseAttribute();
uint inDirtyList : 1;
uint isScrolled : 1;
uint isMoved : 1;
- uint isGLWidget : 1;
uint usesDoubleBufferedGLContext : 1;
#ifndef QT_NO_IM
uint inheritsInputMethodHints : 1;