VBoxMediaComboBox.h revision 7fc7241bf0f23b9fbdd3fa584108a66d9eeb85cd
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* VBoxMediaComboBox class declaration
*/
/*
* Copyright (C) 2006 InnoTek Systemberatung GmbH
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License as published by the Free Software Foundation,
* in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
* distribution. VirtualBox OSE is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY of any kind.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*/
#ifndef __VBoxMediaComboBox_h__
#define __VBoxMediaComboBox_h__
#include "VBoxGlobal.h"
#include <qcombobox.h>
{
int aType = 0, bool aUseEmptyItem = false);
~VBoxMediaComboBox() {}
void refresh();
void setUseEmptyItem (bool);
void setBelongsTo (const QUuid &);
void setCurrentItem (const QUuid &);
void setType (int);
void mediaEnumStarted();
void mediaEnumerated (const VBoxMedia &, int);
void mediaAdded (const VBoxMedia &);
void mediaUpdated (const VBoxMedia &);
void processOnItem (QListBoxItem *);
void processActivated (int);
void updateToolTip (int);
void processMedia (const VBoxMedia &);
void processHdMedia (const VBoxMedia &);
void processCdMedia (const VBoxMedia &);
void processFdMedia (const VBoxMedia &);
void replaceItem (int, const QString &,
int mType;
bool mUseEmptyItem;
};
#endif /* __VBoxMediaComboBox_h__ */