/**
* This file was autogenerated by kgendesignerplugin. 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>
#if QT_VERSION >= 0x050500
# include <QtUiPlugin/QDesignerCustomWidgetInterface>
#else
# include <QDesignerCustomWidgetInterface>
#endif
#include <qplugin.h>
#include <qdebug.h>

#include <entitytreeview.h>
#include <manageaccountwidget.h>
#include <tagselectwidget.h>
#include <agentinstancewidget.h>


class AkonadiEntityTreeViewPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       AkonadiEntityTreeViewPlugin(QObject *parent = nullptr) :
            QObject(parent), mInitialized(false) {}
       virtual ~AkonadiEntityTreeViewPlugin() {}
       
       bool isContainer() const Q_DECL_OVERRIDE { return false; }
       bool isInitialized() const Q_DECL_OVERRIDE { return mInitialized; }
       QIcon icon() const Q_DECL_OVERRIDE { return QIcon(QStringLiteral(":/pics/akonadientitytreeview.png")); }
       QString codeTemplate() const Q_DECL_OVERRIDE { return QStringLiteral(""); }
       QString domXml() const Q_DECL_OVERRIDE { return QDesignerCustomWidgetInterface::domXml(); }
       QString group() const Q_DECL_OVERRIDE { return QStringLiteral("Input (KDE-PIM)"); }
       QString includeFile() const Q_DECL_OVERRIDE { return QStringLiteral("entitytreeview.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("Akonadi::EntityTreeView"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A view to show an item/collection tree provided by an EntityTreeModel (Akonadi)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A view to show an item/collection tree provided by an EntityTreeModel."); }

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

private:
       bool mInitialized;
};


class AkonadiManageAccountWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       AkonadiManageAccountWidgetPlugin(QObject *parent = nullptr) :
            QObject(parent), mInitialized(false) {}
       virtual ~AkonadiManageAccountWidgetPlugin() {}
       
       bool isContainer() const Q_DECL_OVERRIDE { return false; }
       bool isInitialized() const Q_DECL_OVERRIDE { return mInitialized; }
       QIcon icon() const Q_DECL_OVERRIDE { return QIcon(QStringLiteral(":/pics/akonadimanageaccountwidget.png")); }
       QString codeTemplate() const Q_DECL_OVERRIDE { return QStringLiteral(""); }
       QString domXml() const Q_DECL_OVERRIDE { return QDesignerCustomWidgetInterface::domXml(); }
       QString group() const Q_DECL_OVERRIDE { return QStringLiteral("Input (KDE-PIM)"); }
       QString includeFile() const Q_DECL_OVERRIDE { return QStringLiteral("manageaccountwidget.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("Akonadi::ManageAccountWidget"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A Widget to Manage Akonadi Account (KDE-PIM)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A Widget to Manage Akonadi Account"); }

       QWidget* createWidget( QWidget* parent ) Q_DECL_OVERRIDE 
       {
            return new Akonadi::ManageAccountWidget( parent );
       }
       void initialize(QDesignerFormEditorInterface *core) Q_DECL_OVERRIDE 
       {
            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 = nullptr) :
            QObject(parent), mInitialized(false) {}
       virtual ~AkonadiTagSelectWidgetPlugin() {}
       
       bool isContainer() const Q_DECL_OVERRIDE { return false; }
       bool isInitialized() const Q_DECL_OVERRIDE { return mInitialized; }
       QIcon icon() const Q_DECL_OVERRIDE { return QIcon(QStringLiteral(":/pics/akonaditagselectwidget.png")); }
       QString codeTemplate() const Q_DECL_OVERRIDE { return QStringLiteral(""); }
       QString domXml() const Q_DECL_OVERRIDE { return QDesignerCustomWidgetInterface::domXml(); }
       QString group() const Q_DECL_OVERRIDE { return QStringLiteral("Input (KDE-PIM)"); }
       QString includeFile() const Q_DECL_OVERRIDE { return QStringLiteral("tagselectwidget.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("Akonadi::TagSelectWidget"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A Widget to select tag (Akonadi)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A Widget to select tag."); }

       QWidget* createWidget( QWidget* parent ) Q_DECL_OVERRIDE 
       {
            return new Akonadi::TagSelectWidget(parent);
       }
       void initialize(QDesignerFormEditorInterface *core) Q_DECL_OVERRIDE 
       {
            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 = nullptr) :
            QObject(parent), mInitialized(false) {}
       virtual ~AkonadiAgentInstanceWidgetPlugin() {}
       
       bool isContainer() const Q_DECL_OVERRIDE { return false; }
       bool isInitialized() const Q_DECL_OVERRIDE { return mInitialized; }
       QIcon icon() const Q_DECL_OVERRIDE { return QIcon(QStringLiteral(":/pics/akonadiagentinstancewidget.png")); }
       QString codeTemplate() const Q_DECL_OVERRIDE { return QStringLiteral(""); }
       QString domXml() const Q_DECL_OVERRIDE { return QDesignerCustomWidgetInterface::domXml(); }
       QString group() const Q_DECL_OVERRIDE { return QStringLiteral("Input (KDE-PIM)"); }
       QString includeFile() const Q_DECL_OVERRIDE { return QStringLiteral("agentinstancewidget.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("Akonadi::AgentInstanceWidget"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("Akonadi Agent Instance Settings (Akonadi)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A widget to configure akonadi instance."); }

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

private:
       bool mInitialized;
};


class AkonadiWidgets : public QObject, public QDesignerCustomWidgetCollectionInterface
{
    Q_OBJECT
    Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
       Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface")
public:
    AkonadiWidgets(QObject *parent = nullptr);
    virtual ~AkonadiWidgets() {}
    QList<QDesignerCustomWidgetInterface*> customWidgets() const Q_DECL_OVERRIDE { return m_plugins; } 
    
private:
    QList<QDesignerCustomWidgetInterface*> m_plugins;
};

AkonadiWidgets::AkonadiWidgets(QObject *parent)
   : QObject(parent){
                m_plugins.append( new AkonadiEntityTreeViewPlugin(this) );
                m_plugins.append( new AkonadiManageAccountWidgetPlugin(this) );
                m_plugins.append( new AkonadiTagSelectWidgetPlugin(this) );
                m_plugins.append( new AkonadiAgentInstanceWidgetPlugin(this) );

}

#include </usr/src/ports/akonadi/akonadi-17.12.3-1.i686/build/src/widgets/akonadiwidgets.moc>

