VirtualBox

Ignore:
Timestamp:
Feb 28, 2007 6:39:26 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19018
Message:

FE/Qt: Doubleclicking a VM in the Selector window will switch to an existing VM window if the VM is already running and there is a visual representation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxVMListBox.h

    r1068 r1121  
    116116    void setMachine (const CMachine &aM);
    117117
    118     QUuid id() const { return mId; }
    119 
    120118    void recache();
    121119
     
    125123    int width (const QListBox *) const;
    126124
     125    QUuid id() const { return mId; }
    127126    bool accessible() const { return mAccessible; }
    128127    const CVirtualBoxErrorInfo &accessError() const { return mAccessError; }
     128    QString name() const { return mName; }
     129    CEnums::MachineState state() const { return mState; }
     130    CEnums::SessionState sessionState() const { return mSessionState; }
     131    ULONG snapshotCount() const { return mSnapshotCount; }
     132
     133    bool canSwitchTo() const { return mWinId != (WId) ~0; }
     134    bool switchTo();
    129135
    130136protected:
     
    150156    CEnums::SessionState mSessionState;
    151157    QString mOSType;
     158    ULONG mSnapshotCount;
     159
     160    ULONG mPid;
     161    WId mWinId;
    152162};
    153163
Note: See TracChangeset for help on using the changeset viewer.

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