Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

VBoxVMListBoxItem Class Reference

#include <VBoxVMListBox.h>

List of all members.


Detailed Description

The VBoxVMListBoxItem class is a visual representation of the virtual machine in the VBoxVMListBox widget.

It holds a CMachine instance (passed to the constructor) to get an access to various VM data.

Definition at line 103 of file VBoxVMListBox.h.


Public Member Functions

const CVirtualBoxErrorInfo & accessError () const
bool accessible () const
bool canSwitchTo () const
int height (const QListBox *) const
QUuid id () const
CMachine machine () const
QString name () const
void recache ()
KSessionState sessionState () const
void setMachine (const CMachine &aM)
ULONG snapshotCount () const
KMachineState state () const
bool switchTo ()
QString text () const
QString toolTipText () const
 VBoxVMListBoxItem (VBoxVMListBox *aLB, const CMachine &aM)
VBoxVMListBoxvmListBox () const
int width (const QListBox *) const

Protected Member Functions

void paint (QPainter *aP)

Private Attributes

CVirtualBoxErrorInfo mAccessError
bool mAccessible
QUuid mId
QDateTime mLastStateChange
CMachine mMachine
QString mName
QString mOSTypeId
ULONG mPid
KSessionState mSessionState
QString mSettingsFile
ULONG mSnapshotCount
QString mSnapshotName
KMachineState mState

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index