/*********************************************************************************
* C++ Interface: pluginselectwidget.h
* Description:
*                              
* Begin : tis jan 15 2003
* Author : Björn Sahlström <kbjorn@users.sourceforge.net> (C) 2003
* Copyright : See COPYING file that comes with this distribution
**********************************************************************************/

#ifndef PLUGINSELECTWIDGET_H
#define PLUGINSELECTWIDGET_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
#include <qwidget.h>
//////////////////////////////////////////////////////////////////////
// KDE specific include files
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files

class QListView;
class QListViewItem;
class QLabel;

/**
*
* @author Björn Sahlström
**/
class PluginSelectWidget : public QWidget {
	Q_OBJECT
public:
	/** */
	PluginSelectWidget( QWidget* parent, const char* name );
	/** */
	~PluginSelectWidget();
	/** */
	virtual void applySettings() { slotAccept(); }
public slots:
	/** */
	void slotAccept();
signals:
	/** */
	void accepted();
private slots:
	void slotSelectionChanged( QListViewItem* );
private:
	void init();
private:
	QListView* m_listView;
	QLabel* m_descriptionLabel;
};

#endif
