/**
* 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 <QIcon>
#include <QtDesigner/QDesignerContainerExtension>
#include <QDesignerCustomWidgetInterface>
#include <qplugin.h>
#include <qdebug.h>

#include <kcomponentdata.h>
#include <kholidays/holidayregionselector.h>


class KHolidaysHolidayRegionSelectorPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	KHolidaysHolidayRegionSelectorPlugin(QObject *parent = 0) :
		QObject(parent), mInitialized(false) {}
	virtual ~KHolidaysHolidayRegionSelectorPlugin() {}
	
	bool isContainer() const { return false; }
	bool isInitialized() const { return mInitialized; }
	QIcon icon() const { return QIcon(QLatin1String(":/pics/kholidaysholidayregionselector.png")); }
	QString codeTemplate() const { return QLatin1String("");}
	QString domXml() const { return QDesignerCustomWidgetInterface::domXml(); }
	QString group() const { return QLatin1String("Input (KDE-PIM)"); }
	QString includeFile() const { return QLatin1String("kholidays/holidayregionselector.h"); }
	QString name() const { return QLatin1String("KHolidays::HolidayRegionSelector"); }
	QString toolTip() const { return QLatin1String("Holiday Region Selector (KHolidays)"); }
	QString whatsThis() const { return QLatin1String("A widget to select Holiday Regions to use."); }

	QWidget* createWidget( QWidget* parent ) 
	{
		return new KHolidays::HolidayRegionSelector(parent);
	}
	void initialize(QDesignerFormEditorInterface *core) 
	{
		Q_UNUSED(core);
		if (mInitialized) return;
		mInitialized=true;
	}

private:
	bool mInitialized;
};


class KHolidaysWidgets : public QObject, public QDesignerCustomWidgetCollectionInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
public:
	KHolidaysWidgets(QObject *parent = 0);
	virtual ~KHolidaysWidgets() {}
	QList<QDesignerCustomWidgetInterface*> customWidgets() const { return m_plugins; } 
	
private:
	QList<QDesignerCustomWidgetInterface*> m_plugins;
};

Q_EXPORT_PLUGIN2(KHolidaysWidgets, KHolidaysWidgets)

KHolidaysWidgets::KHolidaysWidgets(QObject *parent)
	: QObject(parent){
	(void) new KComponentData("makekdewidgets");
		m_plugins.append( new KHolidaysHolidayRegionSelectorPlugin(this) );

}

#include </usr/src/ports/kdepimlibs/kdepimlibs-4.14.10-1.x86_64/build/kholidays/kholidayswidgets.moc>

