Changeset 569 for trunk/src/gui/kernel


Ignore:
Timestamp:
Feb 13, 2010, 6:36:55 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Adopted to 4.6.1 changes.

Location:
trunk/src/gui/kernel
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r564 r569  
    24252425}
    24262426
     2427void QApplicationPrivate::initializeMultitouch_sys()
     2428{
     2429}
     2430
     2431void QApplicationPrivate::cleanupMultitouch_sys()
     2432{
     2433}
     2434
    24272435/*****************************************************************************
    24282436  PM session management
  • trunk/src/gui/kernel/qguiplatformplugin.cpp

    r561 r569  
    151151#elif defined(Q_OS_SYMBIAN)
    152152    return QLatin1String("Windows");                    // default style for Symbian without S60
     153#elif defined(Q_OS_OS2)
     154    return QLatin1String("Windows");                    // default style for OS/2
    153155#elif defined(Q_WS_X11) && defined(Q_OS_IRIX)
    154156    return QLatin1String("SGI");                        // default style for X11 on IRIX
  • trunk/src/gui/kernel/qwidget.cpp

    r561 r569  
    72727272    // hidden.
    72737273    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)
    72757275        qApp->d_func()->sendSyntheticEnterLeave(q);
    72767276#endif
     
    90119011Qt::InputMethodHints QWidget::inputMethodHints() const
    90129012{
     9013#ifndef QT_NO_IM
    90139014    Q_D(const QWidget);
    9014 #ifndef QT_NO_IM
    90159015    return d->imHints;
    90169016#else //QT_NO_IM
     
    1040910409        if (on && !internalWinId() && testAttribute(Qt::WA_WState_Created))
    1041010410            d->createWinId();
     10411#ifndef QT_NO_IM
    1041110412        if (ic && isEnabled())
    1041210413            ic->setFocusWidget(focusWidget);
  • trunk/src/gui/kernel/qwidget_p.h

    r561 r569  
    712712    HWND effectiveFrameWinId() const;
    713713    void validateObstacles();
     714    void reparentChildren();
    714715#elif defined(Q_WS_WIN) // <--------------------------------------------------------- WIN
    715716    uint noPaintOnScreen : 1; // see qwidget_win.cpp ::paintEngine()
  • trunk/src/gui/kernel/qwidget_pm.cpp

    r564 r569  
    13761376    Q_D(QWidget);
    13771377    if (!isWindow() && parentWidget())
    1378         parentWidget()->d_func()->invalidateBuffer(geometry());
     1378        parentWidget()->d_func()->invalidateBuffer(d->effectiveRectFor(geometry()));
    13791379    d->deactivateWidgetCleanup();
    13801380    if (testAttribute(Qt::WA_WState_Created)) {
     
    14121412            qt_WinDestroyWindow(id);
    14131413        }
    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        }
    14151419    }
    14161420}
     
    14581462    bool wasCreated = q->testAttribute(Qt::WA_WState_Created);
    14591463    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()));
    14611465
    14621466    WId old_fid = frameWinId();
     
    16411645}
    16421646
     1647#ifndef QT_NO_CURSOR
    16431648void QWidget::grabMouse(const QCursor &cursor)
    16441649{
     
    16541659    }
    16551660}
     1661#endif
    16561662
    16571663void QWidget::releaseMouse()
     
    19291935 */
    19301936
    1931 void QWidgetPrivate::setWSGeometry(bool dontShow)
     1937void QWidgetPrivate::setWSGeometry(bool dontShow, const QRect &)
    19321938{
    19331939    Q_Q(QWidget);
Note: See TracChangeset for help on using the changeset viewer.