VirtualBox

Changeset 30543 in vbox


Ignore:
Timestamp:
Jun 30, 2010 10:06:01 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63251
Message:

FE/Qt: New running VM core: wiping out obsolete code from UIMachineLogic.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r30542 r30543  
    16601660#endif
    16611661
    1662 #if 0 // TODO: Where to move that?
    1663 void UIMachineLogic::setViewInSeamlessMode (const QRect &aTargetRect)
    1664 {
    1665 #ifndef Q_WS_MAC
    1666     /* It isn't guaranteed that the guest os set the video mode that
    1667      * we requested. So after all the resizing stuff set the clipping
    1668      * mask and the spacing shifter to the corresponding values. */
    1669     QDesktopWidget *dtw = QApplication::desktop();
    1670     QRect sRect = dtw->screenGeometry (this);
    1671     QRect aRect (aTargetRect);
    1672     mMaskShift.scale (aTargetRect.left(), aTargetRect.top(), Qt::IgnoreAspectRatio);
    1673     /* Set the clipping mask */
    1674     mStrictedRegion = aRect;
    1675     /* Set the shifting spacer */
    1676     mShiftingSpacerLeft->changeSize (RT_ABS (sRect.left() - aRect.left()), 0,
    1677                                      QSizePolicy::Fixed, QSizePolicy::Preferred);
    1678     mShiftingSpacerTop->changeSize (0, RT_ABS (sRect.top() - aRect.top()),
    1679                                     QSizePolicy::Preferred, QSizePolicy::Fixed);
    1680     mShiftingSpacerRight->changeSize (RT_ABS (sRect.right() - aRect.right()), 0,
    1681                                       QSizePolicy::Fixed, QSizePolicy::Preferred);
    1682     mShiftingSpacerBottom->changeSize (0, RT_ABS (sRect.bottom() - aRect.bottom()),
    1683                                            QSizePolicy::Preferred, QSizePolicy::Fixed);
    1684 #else // !Q_WS_MAC
    1685     NOREF (aTargetRect);
    1686 #endif // !Q_WS_MAC
    1687 }
    1688 #endif
    1689 
    16901662#include "UIMachineLogic.moc"
    16911663
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r30542 r30543  
    226226    /* Friend classes: */
    227227    friend class UIMachineWindow;
    228 
    229 #if 0 // TODO: Where to move that?
    230     void setViewInSeamlessMode(const QRect &aTargetRect);
    231 #endif
    232228};
    233229
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette