1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Re-commiting files due to commit clashes by 2 people at same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2684 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
pip 2011-02-01 23:22:16 +00:00 committed by pip
parent c1555d9dfe
commit 5756d17926
2 changed files with 5 additions and 6 deletions

View File

@ -24,14 +24,15 @@
*/
#include "pipxtremegadgetfactory.h"
//#include "pipxtremegadgetwidget.h"
#include "pipxtremegadgetwidget.h"
#include "pipxtremegadget.h"
#include "pipxtremegadgetconfiguration.h"
#include "pipxtremegadgetoptionspage.h"
#include <coreplugin/iuavgadget.h>
PipXtremeGadgetFactory::PipXtremeGadgetFactory(QObject *parent) :
IUAVGadgetFactory(QString("PipXtreme"), tr("PipXtreme Gadget"), parent)
IUAVGadgetFactory(QString("PipXtreme"), tr("PipXtreme Gadget"), parent),
gadgetWidget(NULL)
{
}
@ -41,7 +42,7 @@ PipXtremeGadgetFactory::~PipXtremeGadgetFactory()
Core::IUAVGadget* PipXtremeGadgetFactory::createGadget(QWidget *parent)
{
PipXtremeGadgetWidget *gadgetWidget = new PipXtremeGadgetWidget(parent);
PipXtremeGadgetWidget *gadgetWidget = new PipXtremeGadgetWidget(parent);
return new PipXtremeGadget(QString("PipXtreme"), gadgetWidget, parent);
}

View File

@ -28,8 +28,6 @@
#include <coreplugin/iuavgadgetfactory.h>
#include "pipxtremegadgetwidget.h"
namespace Core {
class IUAVGadget;
class IUAVGadgetFactory;
@ -40,6 +38,7 @@ using namespace Core;
class PipXtremeGadgetFactory : public Core::IUAVGadgetFactory
{
Q_OBJECT
public:
PipXtremeGadgetFactory(QObject *parent = 0);
~PipXtremeGadgetFactory();
@ -47,7 +46,6 @@ public:
Core::IUAVGadget * createGadget(QWidget *parent);
IUAVGadgetConfiguration * createConfiguration(QSettings *qSettings);
IOptionsPage * createOptionsPage(IUAVGadgetConfiguration *config);
};
#endif