Commit 14dbbd9b authored by Bryant Mairs's avatar Bryant Mairs

"qserialport.h" is now <QSerialPort>

parent fff99b97
......@@ -12,8 +12,8 @@
#include <QDebug>
#include <QSettings>
#include <QMutexLocker>
#include <qserialport.h>
#include <qserialportinfo.h>
#include <QSerialPort>
#include <QSerialPortInfo>
#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 <QSerialPort>
bool result;
const int minBaud = (int)QSerialPort::Baud1200;
const int maxBaud = (int)QSerialPort::Baud115200;
......
......@@ -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 <qserialport.h>
#include <QSerialPort>
#include <QMetaType>
Q_DECLARE_METATYPE(QSerialPort::SerialPortError)
......
......@@ -2,8 +2,8 @@
#include "LinkManager.h"
#include "LinkInterface.h"
#include "qserialport.h"
#include "qserialportinfo.h"
#include <QSerialPort>
#include <QSerialPortInfo>
#include "SerialLink.h"
#include "ApmFirmwareConfig.h"
......
......@@ -12,8 +12,8 @@
#include <QMessageBox>
#include <QProcess>
#include <QScrollBar>
#include <QSerialPort>
#include "qserialport.h"
#include "ui_ApmFirmwareConfig.h"
class ApmFirmwareConfig : public QWidget
......
......@@ -37,8 +37,8 @@ This file is part of the APM_PLANNER project
#include "terminalconsole.h"
#include "ui_SerialSettingsDialog.h"
#include <qserialport.h>
#include <qserialportinfo.h>
#include <QSerialPort>
#include <QSerialPortInfo>
#include <QIntValidator>
#include <QLineEdit>
......
......@@ -37,7 +37,7 @@ This file is part of the APM_PLANNER project
#define SETTINGSDIALOG_H
#include <QDialog>
#include <qserialport.h>
#include <QSerialPort>
namespace Ui {
class SettingsDialog;
......
......@@ -45,8 +45,8 @@ This file is part of the APM_PLANNER project
#include <QMessageBox>
#include <QVBoxLayout>
#include <QComboBox>
#include <qserialportinfo.h>
#include <qserialport.h>
#include <QSerialPort>
#include <QSerialPortInfo>
TerminalConsole::TerminalConsole(QWidget *parent) :
QWidget(parent),
......
......@@ -39,7 +39,7 @@ This file is part of the APM_PLANNER project
#include "SerialSettingsDialog.h"
#include <QWidget>
#include <qserialport.h>
#include <QSerialPort>
namespace Ui {
class TerminalConsole;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment