Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
82d69691
Commit
82d69691
authored
Oct 27, 2018
by
Patrick José Pereira
Browse files
ui: Move to pragma once
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
a9a570dd
Changes
22
Hide whitespace changes
Inline
Side-by-side
src/ui/HILDockWidget.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef HILDockWidget_H
#define HILDockWidget_H
#pragma once
#include
"MultiVehicleDockWidget.h"
...
...
@@ -26,4 +25,3 @@ protected:
virtual
QWidget
*
_newVehicleWidget
(
Vehicle
*
vehicle
,
QWidget
*
parent
);
};
#endif
src/ui/MAVLinkDecoder.h
View file @
82d69691
#ifndef MAVLINKDECODER_H
#define MAVLINKDECODER_H
#pragma once
#include
<QObject>
#include
<QHash>
...
...
@@ -53,4 +52,3 @@ protected:
QThread
*
creationThread
;
///< QThread on which the object is created
};
#endif // MAVLINKDECODER_H
src/ui/MainWindow.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -15,8 +15,7 @@
*
*/
#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_
#pragma once
#ifdef __mobile__
#error Should not be include in mobile build
...
...
@@ -181,4 +180,3 @@ private:
QString
_getWindowGeometryKey
();
};
#endif
/* _MAINWINDOW_H_ */
src/ui/MultiVehicleDockWidget.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef MultiVehicleDockWidget_H
#define MultiVehicleDockWidget_H
#pragma once
#include
<QMap>
...
...
@@ -51,4 +50,3 @@ private:
Ui
::
MultiVehicleDockWidget
*
_ui
;
};
#endif
src/ui/QGCHilConfiguration.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef QGCHILCONFIGURATION_H
#define QGCHILCONFIGURATION_H
#pragma once
#include
<QWidget>
...
...
@@ -41,4 +40,3 @@ private:
Ui
::
QGCHilConfiguration
*
ui
;
};
#endif // QGCHILCONFIGURATION_H
src/ui/QGCHilFlightGearConfiguration.h
View file @
82d69691
#ifndef QGCHILFLIGHTGEARCONFIGURATION_H
#define QGCHILFLIGHTGEARCONFIGURATION_H
#pragma once
#include
<QWidget>
...
...
@@ -53,4 +52,3 @@ signals:
void
barometerOffsetChanged
(
float
barometerOffsetkPa
);
};
#endif // QGCHILFLIGHTGEARCONFIGURATION_H
src/ui/QGCHilJSBSimConfiguration.h
View file @
82d69691
#ifndef QGCHILJSBSIMCONFIGURATION_H
#define QGCHILJSBSIMCONFIGURATION_H
#pragma once
#include
<QWidget>
...
...
@@ -29,4 +28,3 @@ private:
Ui
::
QGCHilJSBSimConfiguration
*
ui
;
};
#endif // QGCHILJSBSIMCONFIGURATION_H
src/ui/QGCHilXPlaneConfiguration.h
View file @
82d69691
#ifndef QGCHILXPLANECONFIGURATION_H
#define QGCHILXPLANECONFIGURATION_H
#pragma once
#include
<QWidget>
...
...
@@ -31,4 +30,3 @@ private:
Ui
::
QGCHilXPlaneConfiguration
*
ui
;
};
#endif // QGCHILXPLANECONFIGURATION_H
src/ui/QGCMAVLinkInspector.h
View file @
82d69691
#ifndef QGCMAVLINKINSPECTOR_H
#define QGCMAVLINKINSPECTOR_H
#pragma once
#include
<QMap>
#include
<QTimer>
...
...
@@ -72,4 +71,3 @@ private:
Ui
::
QGCMAVLinkInspector
*
ui
;
};
#endif // QGCMAVLINKINSPECTOR_H
src/ui/QGCMAVLinkLogPlayer.h
View file @
82d69691
#ifndef QGCMAVLINKLOGPLAYER_H
#define QGCMAVLINKLOGPLAYER_H
#pragma once
#include
<QWidget>
#include
<QFile>
...
...
@@ -56,4 +55,3 @@ private:
Ui
::
QGCMAVLinkLogPlayer
*
_ui
;
};
#endif
src/ui/QGCMapRCToParamDialog.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -12,8 +12,7 @@
/// @brief Dialog to configure RC to parameter mapping
/// @author Thomas Gubler <thomasgubler@gmail.com>
#ifndef QGCMAPRCTOPARAMDIALOG_H
#define QGCMAPRCTOPARAMDIALOG_H
#pragma once
#include
<QDialog>
#include
<QThread>
...
...
@@ -57,4 +56,3 @@ private:
Ui
::
QGCMapRCToParamDialog
*
ui
;
};
#endif // QGCMAPRCTOPARAMDIALOG_H
src/ui/QGCPluginHost.h
View file @
82d69691
#ifndef QGCPLUGINHOST_H
#define QGCPLUGINHOST_H
#pragma once
#include
<QWidget>
...
...
@@ -19,4 +18,3 @@ private:
Ui
::
QGCPluginHost
*
ui
;
};
#endif // QGCPLUGINHOST_H
src/ui/QGCUASFileView.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef QGCUASFILEVIEW_H
#define QGCUASFILEVIEW_H
#pragma once
#include
<QWidget>
#include
<QTreeWidgetItem>
...
...
@@ -64,4 +63,3 @@ private:
CommandState
_currentCommand
;
///< Current active command
};
#endif // QGCUASFILEVIEW_H
src/ui/QGCUASFileViewMulti.h
View file @
82d69691
#ifndef QGCUASFILEVIEWMULTI_H
#define QGCUASFILEVIEWMULTI_H
#pragma once
#include
<QMap>
...
...
@@ -33,4 +32,3 @@ private:
Ui
::
QGCUASFileViewMulti
*
ui
;
};
#endif // QGCUASFILEVIEWMULTI_H
src/ui/linechart/ChartPlot.h
View file @
82d69691
#ifndef CHARTPLOT_H
#define CHARTPLOT_H
#pragma once
#include
<qwt_plot.h>
#include
<qwt_plot_grid.h>
...
...
@@ -42,4 +41,3 @@ protected:
float
_gridWidth
;
///< Width of gridlines in pixels
};
#endif // CHARTPLOT_H
src/ui/linechart/IncrementalPlot.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -15,8 +15,7 @@
*
*/
#ifndef INCREMENTALPLOT_H
#define INCREMENTALPLOT_H
#pragma once
#include
<QTimer>
#include
<qwt_plot.h>
...
...
@@ -117,4 +116,3 @@ private:
void
updateStyle
(
QwtPlotCurve
*
curve
);
};
#endif
/* INCREMENTALPLOT_H */
src/ui/linechart/LinechartPlot.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -16,8 +16,7 @@
*
*/
#ifndef _LINECHARTPLOT_H_
#define _LINECHARTPLOT_H_
#pragma once
#define QUINT64_MIN Q_UINT64_C(0)
#define QUINT64_MAX Q_UINT64_C(18446744073709551615)
...
...
@@ -296,4 +295,3 @@ signals:
void
windowPositionChanged
(
quint64
position
);
};
#endif // _LINECHARTPLOT_H_
src/ui/linechart/LinechartWidget.h
View file @
82d69691
/****************************************************************************
*
* (c) 2009-201
6
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* (c) 2009-201
8
QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
...
...
@@ -15,8 +15,7 @@
* @author Lorenz Meier <mavteam@student.ethz.ch>
* @author Thomas Gubler <thomasgubler@student.ethz.ch>
*/
#ifndef LINECHARTWIDGET_H
#define LINECHARTWIDGET_H
#pragma once
#include
<QGridLayout>
#include
<QWidget>
...
...
@@ -202,4 +201,3 @@ private:
QTimer
_filterTimer
;
};
#endif // LINECHARTWIDGET_H
src/ui/linechart/Linecharts.h
View file @
82d69691
#ifndef LINECHARTS_H
#define LINECHARTS_H
#pragma once
#include
<QStackedWidget>
#include
<QMap>
...
...
@@ -29,4 +28,3 @@ private:
MAVLinkDecoder
*
_mavlinkDecoder
;
};
#endif // LINECHARTS_H
src/ui/linechart/ScrollZoomer.h
View file @
82d69691
#ifndef _SCROLLZOOMER_H
#define _SCROLLZOOMER_H
#pragma once
#include
<qglobal.h>
#if QT_VERSION < 0x040000
...
...
@@ -73,4 +72,3 @@ private:
bool
d_inZoom
;
};
#endif
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment