/**
* 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 <akonadi/entitytreeview.h>
#include <akonadi/tagselectwidget.h>
#include <akonadi/agentinstancewidget.h>


class AkonadiEntityTreeViewPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	AkonadiEntityTreeViewPlugin(QObject *parent = 0) :
		QObject(parent), mInitialized(false) {}
	virtual ~AkonadiEntityTreeViewPlugin() {}
	
	bool isContainer() const { return false; }
	bool isInitialized() const { return mInitialized; }
	QIcon icon() const { return QIcon(QLatin1String(":/pics/akonadientitytreeview.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("akonadi/entitytreeview.h"); }
	QString name() const { return QLatin1String("Akonadi::EntityTreeView"); }
	QString toolTip() const { return QLatin1String("A view to show an item/collection tree provided by an EntityTreeModel (Akonadi)"); }
	QString whatsThis() const { return QLatin1String("A view to show an item/collection tree provided by an EntityTreeModel."); }

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

private:
	bool mInitialized;
};


class AkonadiTagSelectWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	AkonadiTagSelectWidgetPlugin(QObject *parent = 0) :
		QObject(parent), mInitialized(false) {}
	virtual ~AkonadiTagSelectWidgetPlugin() {}
	
	bool isContainer() const { return false; }
	bool isInitialized() const { return mInitialized; }
	QIcon icon() const { return QIcon(QLatin1String(":/pics/akonaditagselectwidget.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("akonadi/tagselectwidget.h"); }
	QString name() const { return QLatin1String("Akonadi::TagSelectWidget"); }
	QString toolTip() const { return QLatin1String("A Widget to select tag (Akonadi)"); }
	QString whatsThis() const { return QLatin1String("A Widget to select tag."); }

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

private:
	bool mInitialized;
};


class AkonadiAgentInstanceWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	AkonadiAgentInstanceWidgetPlugin(QObject *parent = 0) :
		QObject(parent), mInitialized(false) {}
	virtual ~AkonadiAgentInstanceWidgetPlugin() {}
	
	bool isContainer() const { return false; }
	bool isInitialized() const { return mInitialized; }
	QIcon icon() const { return QIcon(QLatin1String(":/pics/akonadiagentinstancewidget.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("akonadi/agentinstancewidget.h"); }
	QString name() const { return QLatin1String("Akonadi::AgentInstanceWidget"); }
	QString toolTip() const { return QLatin1String("Akonadi Agent Instance Settings (Akonadi)"); }
	QString whatsThis() const { return QLatin1String("A widget to configure akonadi instance."); }

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

private:
	bool mInitialized;
};


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

Q_EXPORT_PLUGIN2(AkonadiWidgets, AkonadiWidgets)

AkonadiWidgets::AkonadiWidgets(QObject *parent)
	: QObject(parent){
	(void) new KComponentData("makekdewidgets");
		m_plugins.append( new AkonadiEntityTreeViewPlugin(this) );
		m_plugins.append( new AkonadiTagSelectWidgetPlugin(this) );
		m_plugins.append( new AkonadiAgentInstanceWidgetPlugin(this) );

}

#include </usr/src/ports/kdepimlibs/kdepimlibs-4.14.10-3.i686/build/akonadi/akonadiwidgets.moc>

