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


class KSignalPlotterPlugin : public QObject, public QDesignerCustomWidgetInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	KSignalPlotterPlugin(QObject *parent = 0) :
		QObject(parent), mInitialized(false) {}
	virtual ~KSignalPlotterPlugin() {}
	
	bool isContainer() const { return false; }
	bool isInitialized() const { return mInitialized; }
	QIcon icon() const { return QIcon(QLatin1String(":/pics/ksignalplotter.png")); }
	QString codeTemplate() const { return QLatin1String("");}
	QString domXml() const { return QDesignerCustomWidgetInterface::domXml(); }
	QString group() const { return QLatin1String("KSysGuard (KDE)"); }
	QString includeFile() const { return QLatin1String("ksignalplotter.h"); }
	QString name() const { return QLatin1String("KSignalPlotter"); }
	QString toolTip() const { return QLatin1String("A graph plotter widget for plotting continuously incoming data"); }
	QString whatsThis() const { return QLatin1String("KSignalPlotter Widget"); }

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

private:
	bool mInitialized;
};


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

Q_EXPORT_PLUGIN2(KSignalPlotterWidgets, KSignalPlotterWidgets)

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

}

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

