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

HDItem Class Reference

#include <VBoxHardDiskSettings.ui.h>

Inheritance diagram for HDItem:

List of all members.


Detailed Description

VBoxMediaComboBox class reimplementation to use as an editor for the hard disk column.

Definition at line 290 of file VBoxHardDiskSettings.ui.h.


Public Types

typedef QMap< QUuid, QUuid > BaseToDiffMap
typedef QMap< QUuid, QUuid > BaseToDiffMap

Public Member Functions

 HDItem (QWidget *aParent, const char *aName, QUuid aMachineID, QListViewItem *aItem)
QUuid id (int=-1) const
QUuid id (int=-1)
QString location (int=-1) const
QString location (int=-1)
void refresh ()
void refresh ()
void repopulate ()
void repopulate ()
void setCurrentItem (const QUuid &aItemId)
void setCurrentItem (const QUuid &)
void setMachineId (const QUuid &aMachineId=QUuid())
void setShowDiffs (bool aShowDiffs)
void setShowDiffs (bool aShowDiffs)
void setType (VBoxDefs::MediaType aMediaType)
void setType (VBoxDefs::MediaType)
bool showDiffs () const
bool showDiffs () const

Protected Types

typedef QVector< MediumMedia
typedef QValueVector< MediumMedia

Protected Slots

void mediaEnumStarted ()
void mediumAdded (const VBoxMedium &)
void mediumAdded (const VBoxMedium &)
void mediumEnumerated (const VBoxMedium &)
void mediumEnumerated (const VBoxMedium &, int)
void mediumEnumStarted ()
void mediumRemoved (VBoxDefs::MediaType, const QUuid &)
void mediumRemoved (VBoxDefs::MediaType, const QUuid &)
void mediumUpdated (const VBoxMedium &)
void mediumUpdated (const VBoxMedium &)
void processActivated (int aIndex)
void processActivated (int)
void processOnItem (const QModelIndex &aIndex)
void processOnItem (QListBoxItem *)

Protected Member Functions

void addNoMediaItem ()
void addNoMediaItem ()
void appendItem (const VBoxMedium &)
void appendItem (const VBoxMedium &)
bool findMediaIndex (const QUuid &aId, int &aIndex)
bool findMediaIndex (const QUuid &aId, size_t &aIndex)
void replaceItem (int, const VBoxMedium &)
void replaceItem (int, const VBoxMedium &)
void updateToolTip (int)
void updateToolTip (int)

Protected Attributes

QUuid mLastId
QUuid mMachineId
Media mMedia
bool mShowDiffs: 1
VBoxDefs::MediaType mType

Private Slots

void onThisActivated (int)

Private Attributes

QListViewItem * mItem

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

Generated by  Doxygen 1.6.0   Back to index