/* * emptygadgetfactory.cpp * * Created on: Mar 11, 2010 * Author: peter */ #include "emptygadgetfactory.h" #include "emptygadgetwidget.h" #include "emptygadget.h" #include EmptyGadgetFactory::EmptyGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent) { m_name = tr("Choose gadget..."); m_gadgetKind = QString("EmptyGadget"); } EmptyGadgetFactory::~EmptyGadgetFactory() { } Core::IUAVGadget* EmptyGadgetFactory::createUAVGadget(QWidget *parent) { EmptyGadgetWidget* gadgetWidget = new EmptyGadgetWidget(parent); return new EmptyGadget(gadgetWidget); }