/**
* 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 <kpimtextedit/plaintexteditorwidget.h>
#include <kpimtextedit/richtextcomposer.h>
#include <kpimtextedit/richtextcomposerwidget.h>
#include <kpimtextedit/richtexteditorwidget.h>


class KPIMTextEditPlainTextEditorWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       KPIMTextEditPlainTextEditorWidgetPlugin(QObject *parent = 0) :
            QObject(parent), mInitialized(false) {}
       virtual ~KPIMTextEditPlainTextEditorWidgetPlugin() {}
       
       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/kpimtexteditplaintexteditorwidget.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("kpimtextedit/plaintexteditorwidget.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("KPIMTextEdit::PlainTextEditorWidget"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A PlainTextEditor (KDE-PIM)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A PlainTextEditor."); }

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

private:
       bool mInitialized;
};


class KPIMTextEditRichTextComposerPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       KPIMTextEditRichTextComposerPlugin(QObject *parent = 0) :
            QObject(parent), mInitialized(false) {}
       virtual ~KPIMTextEditRichTextComposerPlugin() {}
       
       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/kpimtexteditrichtextcomposer.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("kpimtextedit/richtextcomposer.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("KPIMTextEdit::RichTextComposer"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A RichText Composer (KDE-PIM)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A RichText Composer."); }

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

private:
       bool mInitialized;
};


class KPIMTextEditRichTextComposerWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       KPIMTextEditRichTextComposerWidgetPlugin(QObject *parent = 0) :
            QObject(parent), mInitialized(false) {}
       virtual ~KPIMTextEditRichTextComposerWidgetPlugin() {}
       
       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/kpimtexteditrichtextcomposerwidget.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("kpimtextedit/richtextcomposerwidget.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("KPIMTextEdit::RichTextComposerWidget"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A RichText Composer Widget(KDE-PIM)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A RichText Composer Widget."); }

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

private:
       bool mInitialized;
};


class KPIMTextEditRichTextEditorWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       KPIMTextEditRichTextEditorWidgetPlugin(QObject *parent = 0) :
            QObject(parent), mInitialized(false) {}
       virtual ~KPIMTextEditRichTextEditorWidgetPlugin() {}
       
       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/kpimtexteditrichtexteditorwidget.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("kpimtextedit/richtexteditorwidget.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("KPIMTextEdit::RichTextEditorWidget"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("A RichTextEditor (KDE-PIM)"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A RichTextEditor."); }

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

private:
       bool mInitialized;
};


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

KPimTextEditWidgets::KPimTextEditWidgets(QObject *parent)
   : QObject(parent){
                m_plugins.append( new KPIMTextEditPlainTextEditorWidgetPlugin(this) );
                m_plugins.append( new KPIMTextEditRichTextComposerPlugin(this) );
                m_plugins.append( new KPIMTextEditRichTextComposerWidgetPlugin(this) );
                m_plugins.append( new KPIMTextEditRichTextEditorWidgetPlugin(this) );

}

#include </usr/src/ports/kf5-kpimtextedit/kf5-kpimtextedit-17.04.3-1.i686/build/src/designer/kpimtexteditwidgetswidgets.moc>

