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:
parent
c1555d9dfe
commit
5756d17926
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user