From 14dbbd9b260ecaaa15c13716f4b1ba7198911fdc Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Tue, 1 Jul 2014 19:44:49 -0700 Subject: [PATCH] "qserialport.h" is now --- src/comm/SerialLink.cc | 6 +++--- src/comm/SerialLink.h | 2 +- src/ui/configuration/ApmFirmwareConfig.cc | 4 ++-- src/ui/configuration/ApmFirmwareConfig.h | 2 +- src/ui/configuration/SerialSettingsDialog.cc | 4 ++-- src/ui/configuration/SerialSettingsDialog.h | 2 +- src/ui/configuration/terminalconsole.cpp | 4 ++-- src/ui/configuration/terminalconsole.h | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/comm/SerialLink.cc b/src/comm/SerialLink.cc index d1e09d1db..5ac09a2c7 100644 --- a/src/comm/SerialLink.cc +++ b/src/comm/SerialLink.cc @@ -12,8 +12,8 @@ #include #include #include -#include -#include +#include +#include #include "SerialLink.h" #include "LinkManager.h" #include "QGC.h" @@ -771,7 +771,7 @@ bool SerialLink::setPortName(QString portName) bool SerialLink::setBaudRateType(int rateIndex) { - // These minimum and maximum baud rates were based on those enumerated in qserialport.h + // These minimum and maximum baud rates were based on those enumerated in bool result; const int minBaud = (int)QSerialPort::Baud1200; const int maxBaud = (int)QSerialPort::Baud115200; diff --git a/src/comm/SerialLink.h b/src/comm/SerialLink.h index 5e96b71df..90d155f17 100644 --- a/src/comm/SerialLink.h +++ b/src/comm/SerialLink.h @@ -40,7 +40,7 @@ This file is part of the QGROUNDCONTROL project #include "SerialLinkInterface.h" // We use QSerialPort::SerialPortError in a signal so we must declare it as a meta type -#include +#include #include Q_DECLARE_METATYPE(QSerialPort::SerialPortError) diff --git a/src/ui/configuration/ApmFirmwareConfig.cc b/src/ui/configuration/ApmFirmwareConfig.cc index 0468b24d1..a79e4dfcb 100644 --- a/src/ui/configuration/ApmFirmwareConfig.cc +++ b/src/ui/configuration/ApmFirmwareConfig.cc @@ -2,8 +2,8 @@ #include "LinkManager.h" #include "LinkInterface.h" -#include "qserialport.h" -#include "qserialportinfo.h" +#include +#include #include "SerialLink.h" #include "ApmFirmwareConfig.h" diff --git a/src/ui/configuration/ApmFirmwareConfig.h b/src/ui/configuration/ApmFirmwareConfig.h index 07c1fa9b1..37e7bf40f 100644 --- a/src/ui/configuration/ApmFirmwareConfig.h +++ b/src/ui/configuration/ApmFirmwareConfig.h @@ -12,8 +12,8 @@ #include #include #include +#include -#include "qserialport.h" #include "ui_ApmFirmwareConfig.h" class ApmFirmwareConfig : public QWidget diff --git a/src/ui/configuration/SerialSettingsDialog.cc b/src/ui/configuration/SerialSettingsDialog.cc index fbb8d2da6..8056afdcc 100644 --- a/src/ui/configuration/SerialSettingsDialog.cc +++ b/src/ui/configuration/SerialSettingsDialog.cc @@ -37,8 +37,8 @@ This file is part of the APM_PLANNER project #include "terminalconsole.h" #include "ui_SerialSettingsDialog.h" -#include -#include +#include +#include #include #include diff --git a/src/ui/configuration/SerialSettingsDialog.h b/src/ui/configuration/SerialSettingsDialog.h index 5b1586fdf..a52358ae0 100644 --- a/src/ui/configuration/SerialSettingsDialog.h +++ b/src/ui/configuration/SerialSettingsDialog.h @@ -37,7 +37,7 @@ This file is part of the APM_PLANNER project #define SETTINGSDIALOG_H #include -#include +#include namespace Ui { class SettingsDialog; diff --git a/src/ui/configuration/terminalconsole.cpp b/src/ui/configuration/terminalconsole.cpp index 72e929f92..f0b1127f4 100644 --- a/src/ui/configuration/terminalconsole.cpp +++ b/src/ui/configuration/terminalconsole.cpp @@ -45,8 +45,8 @@ This file is part of the APM_PLANNER project #include #include #include -#include -#include +#include +#include TerminalConsole::TerminalConsole(QWidget *parent) : QWidget(parent), diff --git a/src/ui/configuration/terminalconsole.h b/src/ui/configuration/terminalconsole.h index 85a564394..cb547e292 100644 --- a/src/ui/configuration/terminalconsole.h +++ b/src/ui/configuration/terminalconsole.h @@ -39,7 +39,7 @@ This file is part of the APM_PLANNER project #include "SerialSettingsDialog.h" #include -#include +#include namespace Ui { class TerminalConsole; -- 2.22.0