From 3a7f8c7fc5bd6afc2e464f38da4c3b7ec7984e13 Mon Sep 17 00:00:00 2001 From: PeterG Date: Sun, 29 May 2011 09:42:26 +0200 Subject: [PATCH] Remove empty options pages for config, pipxtreme and uploader gadgets. --- .../openpilotgcs/src/plugins/config/configgadgetfactory.cpp | 5 ----- ground/openpilotgcs/src/plugins/config/configgadgetfactory.h | 1 - .../src/plugins/pipxtreme/pipxtremegadgetfactory.cpp | 5 ----- .../src/plugins/pipxtreme/pipxtremegadgetfactory.h | 1 - .../src/plugins/uploader/uploadergadgetfactory.cpp | 5 ----- .../src/plugins/uploader/uploadergadgetfactory.h | 1 - 6 files changed, 18 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/config/configgadgetfactory.cpp b/ground/openpilotgcs/src/plugins/config/configgadgetfactory.cpp index 37447b01a..1c1cb9ae5 100644 --- a/ground/openpilotgcs/src/plugins/config/configgadgetfactory.cpp +++ b/ground/openpilotgcs/src/plugins/config/configgadgetfactory.cpp @@ -50,8 +50,3 @@ IUAVGadgetConfiguration *ConfigGadgetFactory::createConfiguration(QSettings* qSe { return new ConfigGadgetConfiguration(QString("ConfigGadget"), qSettings); } - -IOptionsPage *ConfigGadgetFactory::createOptionsPage(IUAVGadgetConfiguration *config) -{ - return new ConfigGadgetOptionsPage(qobject_cast(config)); -} diff --git a/ground/openpilotgcs/src/plugins/config/configgadgetfactory.h b/ground/openpilotgcs/src/plugins/config/configgadgetfactory.h index 8d371e746..de90e6def 100644 --- a/ground/openpilotgcs/src/plugins/config/configgadgetfactory.h +++ b/ground/openpilotgcs/src/plugins/config/configgadgetfactory.h @@ -46,7 +46,6 @@ public: IUAVGadget *createGadget(QWidget *parent); IUAVGadgetConfiguration *createConfiguration(QSettings* qSettings); - IOptionsPage *createOptionsPage(IUAVGadgetConfiguration *config); }; #endif // CONFIGGADGETFACTORY_H diff --git a/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.cpp b/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.cpp index 42ce2ec91..01c16435c 100644 --- a/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.cpp +++ b/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.cpp @@ -49,8 +49,3 @@ IUAVGadgetConfiguration * PipXtremeGadgetFactory::createConfiguration(QSettings { return new PipXtremeGadgetConfiguration(QString("PipXtreme"), qSettings); } - -IOptionsPage * PipXtremeGadgetFactory::createOptionsPage(IUAVGadgetConfiguration *config) -{ - return new PipXtremeGadgetOptionsPage(qobject_cast(config)); -} diff --git a/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.h b/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.h index d6d2bf736..8bd48f46b 100644 --- a/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.h +++ b/ground/openpilotgcs/src/plugins/pipxtreme/pipxtremegadgetfactory.h @@ -45,7 +45,6 @@ public: Core::IUAVGadget * createGadget(QWidget *parent); IUAVGadgetConfiguration * createConfiguration(QSettings *qSettings); - IOptionsPage * createOptionsPage(IUAVGadgetConfiguration *config); }; #endif diff --git a/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.cpp b/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.cpp index 4099b936b..53de182f6 100755 --- a/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.cpp +++ b/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.cpp @@ -52,8 +52,3 @@ IUAVGadgetConfiguration *UploaderGadgetFactory::createConfiguration(QSettings* q return new UploaderGadgetConfiguration(QString("Uploader"), qSettings); } -IOptionsPage *UploaderGadgetFactory::createOptionsPage(IUAVGadgetConfiguration *config) -{ - return new UploaderGadgetOptionsPage(qobject_cast(config)); -} - diff --git a/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.h b/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.h index fb44be6cc..c836287b1 100755 --- a/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.h +++ b/ground/openpilotgcs/src/plugins/uploader/uploadergadgetfactory.h @@ -46,7 +46,6 @@ public: Core::IUAVGadget *createGadget(QWidget *parent); IUAVGadgetConfiguration *createConfiguration(QSettings* qSettings); - IOptionsPage *createOptionsPage(IUAVGadgetConfiguration *config); }; #endif // UPLOADERGADGETFACTORY_H