#ifndef	_DEVICEDELDLG_H_
#define _DEVICEDELDLG_H_

#include <qdialog.h>
#include <qlistview.h>
#include <qpixmap.h>

class DeviceDelDlg : public QDialog
{
public:
	DeviceDelDlg(QWidget *parent = 0, const char *name = 0);
	virtual ~DeviceDelDlg();

	void insertDevice(const char *name, int type, const char *addr, QPixmap *icon);
	const char* selected();

protected:
	QListView	*ListView;
};

inline const char* DeviceDelDlg::selected()
{ return ListView->currentItem()->text(0);}

#endif
