/**
* 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 <kwebview.h>


class KWebViewPlugin : public QObject, public QDesignerCustomWidgetInterface
{
       Q_OBJECT
       Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
       KWebViewPlugin(QObject *parent = nullptr) :
            QObject(parent), mInitialized(false) {}
       virtual ~KWebViewPlugin() {}
       
       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/kwebview.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("Views (KDE)"); }
       QString includeFile() const Q_DECL_OVERRIDE { return QStringLiteral("kwebview.h"); }
       QString name() const Q_DECL_OVERRIDE { return QStringLiteral("KWebView"); }
       QString toolTip() const Q_DECL_OVERRIDE { return QStringLiteral("KDE WebKit View"); }
       QString whatsThis() const Q_DECL_OVERRIDE { return QStringLiteral("A WebKit view with KDE integration."); }

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

private:
       bool mInitialized;
};


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

KDEWebKitWidgets::KDEWebKitWidgets(QObject *parent)
   : QObject(parent){
                m_plugins.append( new KWebViewPlugin(this) );

}

#include </usr/src/ports/kf5-kdesignerplugin/kf5-kdesignerplugin-5.43.0-1.i686/build/src/kdewebkitwidgets.moc>

