/***************************************************************************
                          preferencesdialog.h  -  description
                             -------------------
    begin                : mer aoû 6 2003
    copyright            : (C) 2003 by ervin
    email                : ervin at tuxfamily dot org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H

#include <qwidget.h>
#include <kdialogbase.h>
#include <kfileitem.h>

/**
  *@author ervin
  */

class PreferencesDialog : public KDialogBase
{
   Q_OBJECT
public:
	PreferencesDialog(KFileItemList devices, QWidget *parent=0, const char *name=0);
	~PreferencesDialog();

	QStringList excludedDeviceTypes();
	void setExcludedDeviceTypes(QStringList excludedTypesList);

	QStringList excludedDevices();
	void setExcludedDevices(QStringList excludedList);

protected slots:
	void slotDefault();

private:
	KListView *mpDeviceTypesListView;
	KListView *mpDevicesListView;
	KFileItemList mDevices;
};

#endif
