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


class KLsofWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	KLsofWidgetPlugin(QObject *parent = 0) :
		QObject(parent), mInitialized(false) {}
	virtual ~KLsofWidgetPlugin() {}
	
	bool isContainer() const { return false; }
	bool isInitialized() const { return mInitialized; }
	QIcon icon() const { return QIcon(QLatin1String(":/pics/klsofwidget.png")); }
	QString codeTemplate() const { return QLatin1String("");}
	QString domXml() const { return QDesignerCustomWidgetInterface::domXml(); }
	QString group() const { return QLatin1String("KSysGuard (KDE)"); }
	QString includeFile() const { return QLatin1String("lsof.h"); }
	QString name() const { return QLatin1String("KLsofWidget"); }
	QString toolTip() const { return QLatin1String("KLsofWidget Widget"); }
	QString whatsThis() const { return QLatin1String("KLsofWidget Widget"); }

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

private:
	bool mInitialized;
};


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

Q_EXPORT_PLUGIN2(KSysGuardLsofWidgets, KSysGuardLsofWidgets)

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

}

#include </usr/src/ports/kde-workspace/kde-workspace-4.11.21-1.i686/build/libs/ksysguard/lsofui/ksysguardlsofwidgets.moc>

