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

AttachmentsModel Class Reference

#include <VBoxVMSettingsHD.h>

List of all members.

Detailed Description

QAbstractTableModel class reimplementation. Used to feat slot/disk selection mechanism.

Definition at line 137 of file VBoxVMSettingsHD.h.

Public Member Functions

void addItem (const SlotValue &aSlot=SlotValue(), const DiskValue &aDisk=DiskValue())
 AttachmentsModel (QITableView *aParent, int aSlotId, int aDiskId)
int columnCount (const QModelIndex &aParent=QModelIndex()) const
QVariant data (const QModelIndex &aIndex, int aRole=Qt::DisplayRole) const
void delItem (int aIndex)
Qt::ItemFlags flags (const QModelIndex &aIndex) const
QList< AttachmentfullUsedList ()
QVariant headerData (int aSection, Qt::Orientation aOrientation, int aRole=Qt::DisplayRole) const
void removeAddController ()
int rowCount (const QModelIndex &aParent=QModelIndex()) const
bool setData (const QModelIndex &aIndex, const QVariant &aValue, int aRole=Qt::EditRole)
void updateDisks ()
const QList< DiskValue > & usedDisksList ()
const QList< SlotValue > & usedSlotsList ()

Private Attributes

int mDiskId
int mSlotId
QList< DiskValuemUsedDisksList
QList< SlotValuemUsedSlotsList

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

Generated by  Doxygen 1.6.0   Back to index