Changeset 569 for trunk/src/gui/kernel
- Timestamp:
- Feb 13, 2010, 6:36:55 PM (15 years ago)
- Location:
- trunk/src/gui/kernel
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r564 r569 2425 2425 } 2426 2426 2427 void QApplicationPrivate::initializeMultitouch_sys() 2428 { 2429 } 2430 2431 void QApplicationPrivate::cleanupMultitouch_sys() 2432 { 2433 } 2434 2427 2435 /***************************************************************************** 2428 2436 PM session management -
trunk/src/gui/kernel/qguiplatformplugin.cpp
r561 r569 151 151 #elif defined(Q_OS_SYMBIAN) 152 152 return QLatin1String("Windows"); // default style for Symbian without S60 153 #elif defined(Q_OS_OS2) 154 return QLatin1String("Windows"); // default style for OS/2 153 155 #elif defined(Q_WS_X11) && defined(Q_OS_IRIX) 154 156 return QLatin1String("SGI"); // default style for X11 on IRIX -
trunk/src/gui/kernel/qwidget.cpp
r561 r569 7272 7272 // hidden. 7273 7273 if (wasVisible) { 7274 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) || defined(Q_WS_PM) 7274 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) || defined(Q_WS_PM) 7275 7275 qApp->d_func()->sendSyntheticEnterLeave(q); 7276 7276 #endif … … 9011 9011 Qt::InputMethodHints QWidget::inputMethodHints() const 9012 9012 { 9013 #ifndef QT_NO_IM 9013 9014 Q_D(const QWidget); 9014 #ifndef QT_NO_IM9015 9015 return d->imHints; 9016 9016 #else //QT_NO_IM … … 10409 10409 if (on && !internalWinId() && testAttribute(Qt::WA_WState_Created)) 10410 10410 d->createWinId(); 10411 #ifndef QT_NO_IM 10411 10412 if (ic && isEnabled()) 10412 10413 ic->setFocusWidget(focusWidget); -
trunk/src/gui/kernel/qwidget_p.h
r561 r569 712 712 HWND effectiveFrameWinId() const; 713 713 void validateObstacles(); 714 void reparentChildren(); 714 715 #elif defined(Q_WS_WIN) // <--------------------------------------------------------- WIN 715 716 uint noPaintOnScreen : 1; // see qwidget_win.cpp ::paintEngine() -
trunk/src/gui/kernel/qwidget_pm.cpp
r564 r569 1376 1376 Q_D(QWidget); 1377 1377 if (!isWindow() && parentWidget()) 1378 parentWidget()->d_func()->invalidateBuffer( geometry());1378 parentWidget()->d_func()->invalidateBuffer(d->effectiveRectFor(geometry())); 1379 1379 d->deactivateWidgetCleanup(); 1380 1380 if (testAttribute(Qt::WA_WState_Created)) { … … 1412 1412 qt_WinDestroyWindow(id); 1413 1413 } 1414 d->setWinId(0); 1414 QT_TRY { 1415 d->setWinId(0); 1416 } QT_CATCH (const std::bad_alloc &) { 1417 // swallow - destructors must not throw 1418 } 1415 1419 } 1416 1420 } … … 1458 1462 bool wasCreated = q->testAttribute(Qt::WA_WState_Created); 1459 1463 if (q->isVisible() && q->parentWidget() && parent != q->parentWidget()) 1460 q->parentWidget()->d_func()->invalidateBuffer( q->geometry());1464 q->parentWidget()->d_func()->invalidateBuffer(effectiveRectFor(q->geometry())); 1461 1465 1462 1466 WId old_fid = frameWinId(); … … 1641 1645 } 1642 1646 1647 #ifndef QT_NO_CURSOR 1643 1648 void QWidget::grabMouse(const QCursor &cursor) 1644 1649 { … … 1654 1659 } 1655 1660 } 1661 #endif 1656 1662 1657 1663 void QWidget::releaseMouse() … … 1929 1935 */ 1930 1936 1931 void QWidgetPrivate::setWSGeometry(bool dontShow )1937 void QWidgetPrivate::setWSGeometry(bool dontShow, const QRect &) 1932 1938 { 1933 1939 Q_Q(QWidget);
Note:
See TracChangeset
for help on using the changeset viewer.