Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/graphicsview/qgraphicsitem_p.h

    r651 r769  
    415415    inline void markParentDirty(bool updateBoundingRect = false);
    416416
    417     void setFocusHelper(Qt::FocusReason focusReason, bool climb);
     417    void setFocusHelper(Qt::FocusReason focusReason, bool climb, bool focusFromShow);
     418    void clearFocusHelper(bool giveFocusToParent);
    418419    void setSubFocus(QGraphicsItem *rootItem = 0);
    419420    void clearSubFocus(QGraphicsItem *rootItem = 0);
     
    769770{
    770771    QGraphicsItemPrivate *parentp = this;
     772#ifndef QT_NO_GRAPHICSEFFECT
     773    if (updateBoundingRect && parentp->graphicsEffect && !parentp->inSetPosHelper) {
     774        parentp->notifyInvalidated = 1;
     775        static_cast<QGraphicsItemEffectSourcePrivate *>(parentp->graphicsEffect->d_func()
     776                                                        ->source->d_func())->invalidateCache();
     777    }
     778#endif
    771779    while (parentp->parent) {
    772780        parentp = parentp->parent->d_ptr.data();
Note: See TracChangeset for help on using the changeset viewer.