/**
* This file was autogenerated by makekdewidgets. Any changes will be lost!
* The generated code in this file is licensed under the same license that the
* input file.
*/
#include <qwidgetplugin.h>

#include <kinstance.h>
#include <classpreviews.h>
#include <kabc/ldapconfigwidget.h>
#include <kactionselector.h>
#include <kactivelabel.h>
#include <kanimwidget.h>
#include <karrowbutton.h>
#include <kcmodule.h>
#include <kcharselect.h>
#include <kcolorbutton.h>
#include <kcolorcombo.h>
#include <kcolordialog.h>
#include <kcombobox.h>
#include <kdatepicker.h>
#include <kdatetbl.h>
#include <kdatetimewidget.h>
#include <kdatewidget.h>
#include <kdialog.h>
#include <knuminput.h>
#include <knuminput.h>
#include <kdualcolorbutton.h>
#include <keditlistbox.h>
#include <kfontdialog.h>
#include <kfontcombo.h>
#include <kfontrequester.h>
#include <kselect.h>
#include <kcolordialog.h>
#include <kcombobox.h>
#include <kicondialog.h>
#include <kiconview.h>
#include <kimagefilepreview.h>
#include <knuminput.h>
#include <knuminput.h>
#include <kkeybutton.h>
#include <klanguagebutton.h>
#include <kled.h>
#include <klineedit.h>
#include <klistbox.h>
#include <klistview.h>
#include <klistviewsearchline.h>
#include <klistviewsearchline.h>
#include <kcolordialog.h>
#include <kpassdlg.h>
#include <kprogress.h>
#include <kpushbutton.h>
#include <krestrictedline.h>
#include <kauthicon.h>
#include <kruler.h>
#include <kseparator.h>
#include <ksqueezedtextlabel.h>
#include <ktabwidget.h>
#include <ktextbrowser.h>
#include <ktextedit.h>
#include <ktimewidget.h>
#include <kurlrequester.h>
#include <kurllabel.h>
#include <kurlrequester.h>
#include <kcolordialog.h>
#include <kauthicon.h>
#ifndef EMBED_IMAGES
#include <kstandarddirs.h>
#endif

class KDEWidgets : public QWidgetPlugin
{
public:
	KDEWidgets();
	
	virtual ~KDEWidgets();
	
	virtual QStringList keys() const
	{
		QStringList result;
		for (WidgetInfos::ConstIterator it = m_widgets.begin(); it != m_widgets.end(); ++it)
			result << it.key();
		return result;
	}
	
	virtual QWidget *create(const QString &key, QWidget *parent = 0, const char *name = 0);
	
	virtual QIconSet iconSet(const QString &key) const
	{
#ifdef EMBED_IMAGES
		QPixmap pix(m_widgets[key].iconSet);
#else
		QPixmap pix(locate( "data", 
			QString::fromLatin1("kdewidgets/pics/") + m_widgets[key].iconSet));
#endif
		return QIconSet(pix);
	}
	
	virtual bool isContainer(const QString &key) const { return m_widgets[key].isContainer; }
	
	virtual QString group(const QString &key) const { return m_widgets[key].group; }
	
	virtual QString includeFile(const QString &key) const { return m_widgets[key].includeFile; }
	
	virtual QString toolTip(const QString &key) const { return m_widgets[key].toolTip; }
	
	virtual QString whatsThis(const QString &key) const { return m_widgets[key].whatsThis; }
private:
	struct WidgetInfo
	{
		QString group;
#ifdef EMBED_IMAGES
		QPixmap iconSet;
#else
		QString iconSet;
#endif
		QString includeFile;
		QString toolTip;
		QString whatsThis;
		bool isContainer;
	};
	typedef QMap<QString, WidgetInfo> WidgetInfos;
	WidgetInfos m_widgets;
};
KDEWidgets::KDEWidgets()
{
        WidgetInfo widget;

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kabc__ldapconfigwidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("kabc__ldapconfigwidget.png");
#endif
	widget.includeFile = QString::fromLatin1("kabc/ldapconfigwidget.h");
	widget.toolTip = QString::fromLatin1("A widget which allows the user to set up LDAP connection parameters");
	widget.whatsThis = QString::fromLatin1("KABC::LdapConfigWidget Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KABC::LdapConfigWidget"), widget);

	widget.group = QString::fromLatin1("Views (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kactionselector_xpm);
#else
	widget.iconSet = QString::fromLatin1("kactionselector.png");
#endif
	widget.includeFile = QString::fromLatin1("kactionselector.h");
	widget.toolTip = QString::fromLatin1("A widget for selecting and arranging actions/objects");
	widget.whatsThis = QString::fromLatin1("KActionSelector Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KActionSelector"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kactivelabel_xpm);
#else
	widget.iconSet = QString::fromLatin1("kactivelabel.png");
#endif
	widget.includeFile = QString::fromLatin1("kactivelabel.h");
	widget.toolTip = QString::fromLatin1("Active Label (KDE)");
	widget.whatsThis = QString::fromLatin1("A label with support for selection and clickable links");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KActiveLabel"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kanimwidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("kanimwidget.png");
#endif
	widget.includeFile = QString::fromLatin1("kanimwidget.h");
	widget.toolTip = QString::fromLatin1("This is a widget used to display animation using multiple individual pixmaps.");
	widget.whatsThis = QString::fromLatin1("KAnimWidget Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KAnimWidget"), widget);

	widget.group = QString::fromLatin1("Buttons (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(karrowbutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("karrowbutton.png");
#endif
	widget.includeFile = QString::fromLatin1("karrowbutton.h");
	widget.toolTip = QString::fromLatin1("Draws a button which shows an arrow pointing into a certain direction.");
	widget.whatsThis = QString::fromLatin1("KArrowButton Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KArrowButton"), widget);

	widget.group = QString::fromLatin1("Container (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kcmodule_xpm);
#else
	widget.iconSet = QString::fromLatin1("kcmodule.png");
#endif
	widget.includeFile = QString::fromLatin1("kcmodule.h");
	widget.toolTip = QString::fromLatin1("KControl Center Module (KDE)");
	widget.whatsThis = QString::fromLatin1("KCModule Widget");
	widget.isContainer = true;
	m_widgets.insert(QString::fromLatin1("KCModule"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kcharselect_xpm);
#else
	widget.iconSet = QString::fromLatin1("kcharselect.png");
#endif
	widget.includeFile = QString::fromLatin1("kcharselect.h");
	widget.toolTip = QString::fromLatin1("Character Selection Widget (KDE)");
	widget.whatsThis = QString::fromLatin1("A widget that allows selection a character out ot a table");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KCharSelect"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kcolorbutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("kcolorbutton.png");
#endif
	widget.includeFile = QString::fromLatin1("kcolorbutton.h");
	widget.toolTip = QString::fromLatin1("Color Chooser Button (KDE)");
	widget.whatsThis = QString::fromLatin1("A button that allows selecting a color");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KColorButton"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kcolorcombo_xpm);
#else
	widget.iconSet = QString::fromLatin1("kcolorcombo.png");
#endif
	widget.includeFile = QString::fromLatin1("kcolorcombo.h");
	widget.toolTip = QString::fromLatin1("Color Combo Box (KDE)");
	widget.whatsThis = QString::fromLatin1("KColorCombo Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KColorCombo"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kcolorpatch_xpm);
#else
	widget.iconSet = QString::fromLatin1("kcolorpatch.png");
#endif
	widget.includeFile = QString::fromLatin1("kcolordialog.h");
	widget.toolTip = QString::fromLatin1("The KColorPatch widget is a (usually small) widget showing a selected color.");
	widget.whatsThis = QString::fromLatin1("KColorPatch Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KColorPatch"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kcombobox_xpm);
#else
	widget.iconSet = QString::fromLatin1("kcombobox.png");
#endif
	widget.includeFile = QString::fromLatin1("kcombobox.h");
	widget.toolTip = QString::fromLatin1("Combo Box (KDE)");
	widget.whatsThis = QString::fromLatin1("KComboBox Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KComboBox"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdatepicker_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdatepicker.png");
#endif
	widget.includeFile = QString::fromLatin1("kdatepicker.h");
	widget.toolTip = QString::fromLatin1("A date selection widget (KDE)");
	widget.whatsThis = QString::fromLatin1("Provides a widget for calendar date input");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDatePicker"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdatetable_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdatetable.png");
#endif
	widget.includeFile = QString::fromLatin1("kdatetbl.h");
	widget.toolTip = QString::fromLatin1("KDateTable Widget");
	widget.whatsThis = QString::fromLatin1("KDateTable Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDateTable"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdatetimewidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdatetimewidget.png");
#endif
	widget.includeFile = QString::fromLatin1("kdatetimewidget.h");
	widget.toolTip = QString::fromLatin1("This widget can be used to display or allow user selection of date and time. (KDE)");
	widget.whatsThis = QString::fromLatin1("KDateTimeWidget Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDateTimeWidget"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdatewidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdatewidget.png");
#endif
	widget.includeFile = QString::fromLatin1("kdatewidget.h");
	widget.toolTip = QString::fromLatin1("Date preview (KDE)");
	widget.whatsThis = QString::fromLatin1("KDateWidget Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDateWidget"), widget);

	widget.group = QString::fromLatin1("Container (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdialog_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdialog.png");
#endif
	widget.includeFile = QString::fromLatin1("kdialog.h");
	widget.toolTip = QString::fromLatin1("Class for simple Dialogs (KDE)");
	widget.whatsThis = QString::fromLatin1("KDialog Widget");
	widget.isContainer = true;
	m_widgets.insert(QString::fromLatin1("KDialog"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdoublenuminput_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdoublenuminput.png");
#endif
	widget.includeFile = QString::fromLatin1("knuminput.h");
	widget.toolTip = QString::fromLatin1("Floating Point Number Input Widget (KDE)");
	widget.whatsThis = QString::fromLatin1("An input widget for floating point numbers, consisting of a spinbox and a slider.");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDoubleNumInput"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdoublespinbox_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdoublespinbox.png");
#endif
	widget.includeFile = QString::fromLatin1("knuminput.h");
	widget.toolTip = QString::fromLatin1("Enhanced Spinbox for Floating Point Values (KDE)");
	widget.whatsThis = QString::fromLatin1("A spinbox widget for floating point numbers.");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDoubleSpinBox"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kdualcolorbutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("kdualcolorbutton.png");
#endif
	widget.includeFile = QString::fromLatin1("kdualcolorbutton.h");
	widget.toolTip = QString::fromLatin1("A widget for selecting two related colors (KDE)");
	widget.whatsThis = QString::fromLatin1("KDualColorButton Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KDualColorButton"), widget);

	widget.group = QString::fromLatin1("Views (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(keditlistbox_xpm);
#else
	widget.iconSet = QString::fromLatin1("keditlistbox.png");
#endif
	widget.includeFile = QString::fromLatin1("keditlistbox.h");
	widget.toolTip = QString::fromLatin1("Fullfeatured edit box with buttons (KDE)");
	widget.whatsThis = QString::fromLatin1("KEditListBox Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KEditListBox"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kfontchooser_xpm);
#else
	widget.iconSet = QString::fromLatin1("kfontcombo.png");
#endif
	widget.includeFile = QString::fromLatin1("kfontdialog.h");
	widget.toolTip = QString::fromLatin1("Font Chooser (KDE)");
	widget.whatsThis = QString::fromLatin1("A font type, size and style selection widget complete with preview");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KFontChooser"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kfontcombo_xpm);
#else
	widget.iconSet = QString::fromLatin1("kfontcombo.png");
#endif
	widget.includeFile = QString::fromLatin1("kfontcombo.h");
	widget.toolTip = QString::fromLatin1("Font Combo Box (KDE)");
	widget.whatsThis = QString::fromLatin1("A QCombo Box showing the installed system fonts (with preview)");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KFontCombo"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kfontrequester_xpm);
#else
	widget.iconSet = QString::fromLatin1("kfontrequester.png");
#endif
	widget.includeFile = QString::fromLatin1("kfontrequester.h");
	widget.toolTip = QString::fromLatin1("Font Requester (KDE)");
	widget.whatsThis = QString::fromLatin1("A compact font selection and preview widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KFontRequester"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kgradientselector_xpm);
#else
	widget.iconSet = QString::fromLatin1("kgradientselector.png");
#endif
	widget.includeFile = QString::fromLatin1("kselect.h");
	widget.toolTip = QString::fromLatin1("KGradientSelector Widget");
	widget.whatsThis = QString::fromLatin1("A widget that allows the user to select two colors to form a gradient");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KGradientSelector"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(khsselector_xpm);
#else
	widget.iconSet = QString::fromLatin1("khsselector.png");
#endif
	widget.includeFile = QString::fromLatin1("kcolordialog.h");
	widget.toolTip = QString::fromLatin1("Widget for Hue/Saturation selection (KDE)");
	widget.whatsThis = QString::fromLatin1("KHSSelector Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KHSSelector"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(khistorycombo_xpm);
#else
	widget.iconSet = QString::fromLatin1("khistorycombo.png");
#endif
	widget.includeFile = QString::fromLatin1("kcombobox.h");
	widget.toolTip = QString::fromLatin1("A combobox for offering a history and completion (KDE)");
	widget.whatsThis = QString::fromLatin1("A combobox which implements a history like a unix shell");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KHistoryCombo"), widget);

	widget.group = QString::fromLatin1("Buttons (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kiconbutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("kiconbutton.png");
#endif
	widget.includeFile = QString::fromLatin1("kicondialog.h");
	widget.toolTip = QString::fromLatin1("Button for selecting an icon (KDE)");
	widget.whatsThis = QString::fromLatin1("KIconButton Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KIconButton"), widget);

	widget.group = QString::fromLatin1("Views (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kiconview_xpm);
#else
	widget.iconSet = QString::fromLatin1("kiconview.png");
#endif
	widget.includeFile = QString::fromLatin1("kiconview.h");
	widget.toolTip = QString::fromLatin1("Extended Icon View (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved version of the QIconView that allows certain KDE extensions");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KIconView"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kimagefilepreview_xpm);
#else
	widget.iconSet = QString::fromLatin1("kimagefilepreview.png");
#endif
	widget.includeFile = QString::fromLatin1("kimagefilepreview.h");
	widget.toolTip = QString::fromLatin1("A widget that provides a image preview of a URL");
	widget.whatsThis = QString::fromLatin1("KImageFilePreview Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KImageFilePreview"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kintnuminput_xpm);
#else
	widget.iconSet = QString::fromLatin1("kintnuminput.png");
#endif
	widget.includeFile = QString::fromLatin1("knuminput.h");
	widget.toolTip = QString::fromLatin1("Integer Input Widget (KDE)");
	widget.whatsThis = QString::fromLatin1("An input widget for integer numbers, consisting of a spinbox and a slider.");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KIntNumInput"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kintspinbox_xpm);
#else
	widget.iconSet = QString::fromLatin1("kintspinbox.png");
#endif
	widget.includeFile = QString::fromLatin1("knuminput.h");
	widget.toolTip = QString::fromLatin1("Enhanced Spinbox for Integer Values (KDE)");
	widget.whatsThis = QString::fromLatin1("KIntSpinBox Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KIntSpinBox"), widget);

	widget.group = QString::fromLatin1("Buttons (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kkeybutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("kkeybutton.png");
#endif
	widget.includeFile = QString::fromLatin1("kkeybutton.h");
	widget.toolTip = QString::fromLatin1("Keyboard Key Button. (KDE)");
	widget.whatsThis = QString::fromLatin1("A push button that looks like a keyboard key.");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KKeyButton"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(klanguagebutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("klanguagebutton.png");
#endif
	widget.includeFile = QString::fromLatin1("klanguagebutton.h");
	widget.toolTip = QString::fromLatin1("A widget for selecting a language");
	widget.whatsThis = QString::fromLatin1("A combobox suitable for selecting a language");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KLanguageButton"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kled_xpm);
#else
	widget.iconSet = QString::fromLatin1("kled.png");
#endif
	widget.includeFile = QString::fromLatin1("kled.h");
	widget.toolTip = QString::fromLatin1("LED Widget (KDE)");
	widget.whatsThis = QString::fromLatin1("A widget showing a light emitter diode");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KLed"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(klineedit_xpm);
#else
	widget.iconSet = QString::fromLatin1("klineedit.png");
#endif
	widget.includeFile = QString::fromLatin1("klineedit.h");
	widget.toolTip = QString::fromLatin1("Line Edit (KDE)");
	widget.whatsThis = QString::fromLatin1("KLineEdit Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KLineEdit"), widget);

	widget.group = QString::fromLatin1("Views (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(klistbox_xpm);
#else
	widget.iconSet = QString::fromLatin1("klistbox.png");
#endif
	widget.includeFile = QString::fromLatin1("klistbox.h");
	widget.toolTip = QString::fromLatin1("Extended List Box (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved version of the QListBox that follows KDE settings");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KListBox"), widget);

	widget.group = QString::fromLatin1("Views (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(klistview_xpm);
#else
	widget.iconSet = QString::fromLatin1("klistview.png");
#endif
	widget.includeFile = QString::fromLatin1("klistview.h");
	widget.toolTip = QString::fromLatin1("Extended List View (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved version of the QListView that allows certain KDE extensions");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KListView"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(klistviewsearchline_xpm);
#else
	widget.iconSet = QString::fromLatin1("klistviewsearchline.png");
#endif
	widget.includeFile = QString::fromLatin1("klistviewsearchline.h");
	widget.toolTip = QString::fromLatin1("ListView Search Line (KDE)");
	widget.whatsThis = QString::fromLatin1("KListViewSearchLine Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KListViewSearchLine"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(klistviewsearchlinewidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("klistviewsearchlinewidget.png");
#endif
	widget.includeFile = QString::fromLatin1("klistviewsearchline.h");
	widget.toolTip = QString::fromLatin1("ListView Search Line Widget (KDE)");
	widget.whatsThis = QString::fromLatin1("KListViewSearchLineWidget Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KListViewSearchLineWidget"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kpalettetable_xpm);
#else
	widget.iconSet = QString::fromLatin1("kpalettetable.png");
#endif
	widget.includeFile = QString::fromLatin1("kcolordialog.h");
	widget.toolTip = QString::fromLatin1("A color palette in table form.");
	widget.whatsThis = QString::fromLatin1("KPaletteTable Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KPaletteTable"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kpasswordedit_xpm);
#else
	widget.iconSet = QString::fromLatin1("kpasswordedit.png");
#endif
	widget.includeFile = QString::fromLatin1("kpassdlg.h");
	widget.toolTip = QString::fromLatin1("Safe Password LineEdit (KDE)");
	widget.whatsThis = QString::fromLatin1("A KLineEdit that is safe for prompting the user for passwords");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KPasswordEdit"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kprogress_xpm);
#else
	widget.iconSet = QString::fromLatin1("kprogress.png");
#endif
	widget.includeFile = QString::fromLatin1("kprogress.h");
	widget.toolTip = QString::fromLatin1("Progress Bar (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved progress bar for KDE that uses QFrame and QRangeControl");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KProgress"), widget);

	widget.group = QString::fromLatin1("Buttons (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kpushbutton_xpm);
#else
	widget.iconSet = QString::fromLatin1("kpushbutton.png");
#endif
	widget.includeFile = QString::fromLatin1("kpushbutton.h");
	widget.toolTip = QString::fromLatin1("Improved QPushButton (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved QPushButton to follow KDE settings");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KPushButton"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(krestrictedline_xpm);
#else
	widget.iconSet = QString::fromLatin1("krestrictedline.png");
#endif
	widget.includeFile = QString::fromLatin1("krestrictedline.h");
	widget.toolTip = QString::fromLatin1("Line Edit for restricted input (KDE)");
	widget.whatsThis = QString::fromLatin1("KRestrictedLine Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KRestrictedLine"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(krootpermsicon_xpm);
#else
	widget.iconSet = QString::fromLatin1("krootpermsicon.png");
#endif
	widget.includeFile = QString::fromLatin1("kauthicon.h");
	widget.toolTip = QString::fromLatin1("Icon to show whether or not a user has root permissions.");
	widget.whatsThis = QString::fromLatin1("KRootPermsIcon Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KRootPermsIcon"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kruler_xpm);
#else
	widget.iconSet = QString::fromLatin1("kruler.png");
#endif
	widget.includeFile = QString::fromLatin1("kruler.h");
	widget.toolTip = QString::fromLatin1("Measuring Ruler Widget (KDE)");
	widget.whatsThis = QString::fromLatin1("A measuring ruler widget as seen in KWord for page widths and heights");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KRuler"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kseparator_xpm);
#else
	widget.iconSet = QString::fromLatin1("kseparator.png");
#endif
	widget.includeFile = QString::fromLatin1("kseparator.h");
	widget.toolTip = QString::fromLatin1("Standard horizontal or vertical separator.");
	widget.whatsThis = QString::fromLatin1("KSeparator Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KSeparator"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(ksqueezedtextlabel_xpm);
#else
	widget.iconSet = QString::fromLatin1("ksqueezedtextlabel.png");
#endif
	widget.includeFile = QString::fromLatin1("ksqueezedtextlabel.h");
	widget.toolTip = QString::fromLatin1("A QLabel that squeezes its text (KDE)");
	widget.whatsThis = QString::fromLatin1("If the text is too long to fit into the label it is divided into remaining left and right parts which are separated by three dots");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KSqueezedTextLabel"), widget);

	widget.group = QString::fromLatin1("Container (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(ktabwidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("ktabwidget.png");
#endif
	widget.includeFile = QString::fromLatin1("ktabwidget.h");
	widget.toolTip = QString::fromLatin1("KDE tab widget container.");
	widget.whatsThis = QString::fromLatin1("KTabWidget Widget");
	widget.isContainer = true;
	m_widgets.insert(QString::fromLatin1("KTabWidget"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(ktextbrowser_xpm);
#else
	widget.iconSet = QString::fromLatin1("ktextbrowser.png");
#endif
	widget.includeFile = QString::fromLatin1("ktextbrowser.h");
	widget.toolTip = QString::fromLatin1("Improved QTextBrowser (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved version of the QTextBrowser with mail or system browser invocation support");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KTextBrowser"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(ktextedit_xpm);
#else
	widget.iconSet = QString::fromLatin1("ktextedit.png");
#endif
	widget.includeFile = QString::fromLatin1("ktextedit.h");
	widget.toolTip = QString::fromLatin1("Improved QTextEdit (KDE)");
	widget.whatsThis = QString::fromLatin1("An improved version of the QTextEdit with mail or system browser invocation support");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KTextEdit"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(ktimewidget_xpm);
#else
	widget.iconSet = QString::fromLatin1("ktimewidget.png");
#endif
	widget.includeFile = QString::fromLatin1("ktimewidget.h");
	widget.toolTip = QString::fromLatin1("This widget can be used to display or allow user selection of time. (KDE)");
	widget.whatsThis = QString::fromLatin1("KTimeWidget Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KTimeWidget"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kurlcomborequester_xpm);
#else
	widget.iconSet = QString::fromLatin1("kurlcomborequester.png");
#endif
	widget.includeFile = QString::fromLatin1("kurlrequester.h");
	widget.toolTip = QString::fromLatin1("URL Requester (KDE)");
	widget.whatsThis = QString::fromLatin1("A widget holding a combobox and a pushbutton. A \"file open\" dialog opened when clicking on the pushbutton");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KURLComboRequester"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kurllabel_xpm);
#else
	widget.iconSet = QString::fromLatin1("kurllabel.png");
#endif
	widget.includeFile = QString::fromLatin1("kurllabel.h");
	widget.toolTip = QString::fromLatin1("URL Label (KDE)");
	widget.whatsThis = QString::fromLatin1("KURLLabel Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KURLLabel"), widget);

	widget.group = QString::fromLatin1("Input (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kurlrequester_xpm);
#else
	widget.iconSet = QString::fromLatin1("kurlrequester.png");
#endif
	widget.includeFile = QString::fromLatin1("kurlrequester.h");
	widget.toolTip = QString::fromLatin1("URL Requester (KDE)");
	widget.whatsThis = QString::fromLatin1("A widget holding a lineedit and a pushbutton. A \"file open\" dialog opened when clicking on the pushbutton");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KURLRequester"), widget);

	widget.group = QString::fromLatin1("Graphics (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kvalueselector_xpm);
#else
	widget.iconSet = QString::fromLatin1("kvalueselector.png");
#endif
	widget.includeFile = QString::fromLatin1("kcolordialog.h");
	widget.toolTip = QString::fromLatin1("Widget for color value selection.");
	widget.whatsThis = QString::fromLatin1("KValueSelector Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KValueSelector"), widget);

	widget.group = QString::fromLatin1("Display (KDE)");
#ifdef EMBED_IMAGES
	widget.iconSet = QPixmap(kwritepermsicon_xpm);
#else
	widget.iconSet = QString::fromLatin1("kwritepermsicon.png");
#endif
	widget.includeFile = QString::fromLatin1("kauthicon.h");
	widget.toolTip = QString::fromLatin1("Auth icon for write permission display.");
	widget.whatsThis = QString::fromLatin1("KWritePermsIcon Widget");
	widget.isContainer = false;
	m_widgets.insert(QString::fromLatin1("KWritePermsIcon"), widget);

	new KInstance("kdewidgets");
}
KDEWidgets::~KDEWidgets()
{
	
}
QWidget *KDEWidgets::create(const QString &key, QWidget *parent, const char *name)
{

         if (key == QString::fromLatin1("KABC::LdapConfigWidget"))
                return new KABC::LdapConfigWidget(KABC::LdapConfigWidget::W_ALL, parent, name);

         if (key == QString::fromLatin1("KActionSelector"))
                return new KActionSelector(parent, name);

         if (key == QString::fromLatin1("KActiveLabel"))
                return new KActiveLabel(parent, name);

         if (key == QString::fromLatin1("KAnimWidget"))
                return new KAnimWidget("kde",0,parent,name);

         if (key == QString::fromLatin1("KArrowButton"))
                return new KArrowButton(parent,Qt::UpArrow,name);

         if (key == QString::fromLatin1("KCModule"))
                return new KCModule(parent, name);

         if (key == QString::fromLatin1("KCharSelect"))
                return new KCharSelect(parent, name);

         if (key == QString::fromLatin1("KColorButton"))
                return new KColorButton(parent, name);

         if (key == QString::fromLatin1("KColorCombo"))
                return new KColorCombo(parent, name);

         if (key == QString::fromLatin1("KColorPatch"))
                return new KColorPatch(parent);

         if (key == QString::fromLatin1("KComboBox"))
                return new KComboBox(parent, name);

         if (key == QString::fromLatin1("KDatePicker"))
                return new KDatePicker(parent, QDate::currentDate(), name);

         if (key == QString::fromLatin1("KDateTable"))
                return new KDateTable(parent, QDate::currentDate(), name);

         if (key == QString::fromLatin1("KDateTimeWidget"))
                return new KDateTimeWidget(parent, name);

         if (key == QString::fromLatin1("KDateWidget"))
                return new KDateWidget(parent, name);

         if (key == QString::fromLatin1("KDialog"))
                return new KDialogPreview(parent, name);

         if (key == QString::fromLatin1("KDoubleNumInput"))
                return new KDoubleNumInput(parent, name);

         if (key == QString::fromLatin1("KDoubleSpinBox"))
                return new KDoubleSpinBox(parent, name);

         if (key == QString::fromLatin1("KDualColorButton"))
                return new KDualColorButton(parent, name);

         if (key == QString::fromLatin1("KEditListBox"))
                return new KEditListBox(parent, name);

         if (key == QString::fromLatin1("KFontChooser"))
                return new KFontChooser(parent, name);

         if (key == QString::fromLatin1("KFontCombo"))
                return new KFontCombo(parent, name);

         if (key == QString::fromLatin1("KFontRequester"))
                return new KFontRequester(parent, name);

         if (key == QString::fromLatin1("KGradientSelector"))
                return new KGradientSelector(parent, name);

         if (key == QString::fromLatin1("KHSSelector"))
                return new KHSSelector(parent, name);

         if (key == QString::fromLatin1("KHistoryCombo"))
                return new KHistoryCombo(parent, name);

         if (key == QString::fromLatin1("KIconButton"))
                return new KIconButton(parent, name);

         if (key == QString::fromLatin1("KIconView"))
                return new KIconView(parent, name);

         if (key == QString::fromLatin1("KImageFilePreview"))
                return new KImageFilePreview(parent);

         if (key == QString::fromLatin1("KIntNumInput"))
                return new KIntNumInput(parent, name);

         if (key == QString::fromLatin1("KIntSpinBox"))
                return new KIntSpinBox(parent, name);

         if (key == QString::fromLatin1("KKeyButton"))
                return new KKeyButton(parent, name);

         if (key == QString::fromLatin1("KLanguageButton"))
                return new KLanguageButton(parent, name);

         if (key == QString::fromLatin1("KLed"))
                return new KLed(parent, name);

         if (key == QString::fromLatin1("KLineEdit"))
                return new KLineEdit(parent, name);

         if (key == QString::fromLatin1("KListBox"))
                return new KListBox(parent, name);

         if (key == QString::fromLatin1("KListView"))
                return new KListView(parent, name);

         if (key == QString::fromLatin1("KListViewSearchLine"))
                return new KListViewSearchLine(parent, 0, name);

         if (key == QString::fromLatin1("KListViewSearchLineWidget"))
                return new KListViewSearchLineWidget(0, parent, name);

         if (key == QString::fromLatin1("KPaletteTable"))
                return new KPaletteTable(parent, 210, 16);

         if (key == QString::fromLatin1("KPasswordEdit"))
                return new KPasswordEdit(parent, name);

         if (key == QString::fromLatin1("KProgress"))
                return new KProgress(parent, name);

         if (key == QString::fromLatin1("KPushButton"))
                return new KPushButton(parent, name);

         if (key == QString::fromLatin1("KRestrictedLine"))
                return new KRestrictedLine(parent, name);

         if (key == QString::fromLatin1("KRootPermsIcon"))
                return new KRootPermsIcon(parent, name);

         if (key == QString::fromLatin1("KRuler"))
                return new KRuler(parent, name);

         if (key == QString::fromLatin1("KSeparator"))
                return new KSeparator(parent, name);

         if (key == QString::fromLatin1("KSqueezedTextLabel"))
                return new KSqueezedTextLabel("KSqueezedTextLabel", parent, name);

         if (key == QString::fromLatin1("KTabWidget"))
                return new KTabWidget(parent, name);

         if (key == QString::fromLatin1("KTextBrowser"))
                return new KTextBrowser(parent, name);

         if (key == QString::fromLatin1("KTextEdit"))
                return new KTextEdit(parent, name);

         if (key == QString::fromLatin1("KTimeWidget"))
                return new KTimeWidget(parent, name);

         if (key == QString::fromLatin1("KURLComboRequester"))
                return new KURLComboRequester(parent, name);

         if (key == QString::fromLatin1("KURLLabel"))
                return new KURLLabel("KURLLabel", QString::null, parent, name);

         if (key == QString::fromLatin1("KURLRequester"))
                return new KURLRequester(parent, name);

         if (key == QString::fromLatin1("KValueSelector"))
                return new KValueSelector(parent, name);

         if (key == QString::fromLatin1("KWritePermsIcon"))
                return new KWritePermsIcon("", parent, name);

	return 0;
}
KDE_Q_EXPORT_PLUGIN(KDEWidgets)

