diff --git a/src/controls/QskLevelingSensor.h b/src/controls/QskLevelingSensor.h index 84b15fc6..8aae2eee 100644 --- a/src/controls/QskLevelingSensor.h +++ b/src/controls/QskLevelingSensor.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef QSK_LEVELING_SENSOR_H +#define QSK_LEVELING_SENSOR_H #include #include @@ -39,4 +40,6 @@ class QSK_EXPORT QskLevelingSensor : public QskControl private: class PrivateData; std::unique_ptr< PrivateData > m_data; -}; \ No newline at end of file +}; + +#endif \ No newline at end of file diff --git a/src/controls/QskLevelingSensorSkinlet.h b/src/controls/QskLevelingSensorSkinlet.h index c60a5084..9b5f7ba7 100644 --- a/src/controls/QskLevelingSensorSkinlet.h +++ b/src/controls/QskLevelingSensorSkinlet.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef QSK_LEVELING_SENSOR_SKINLET_H +#define QSK_LEVELING_SENSOR_SKINLET_H #include #include @@ -50,3 +51,5 @@ class QSK_EXPORT QskLevelingSensorSkinlet : public QskSkinlet Q_REQUIRED_RESULT QSGNode* updateSubNode( const QskLevelingSensor* sensor, quint8 nodeRole, QSGNode* node ) const; }; + +#endif \ No newline at end of file diff --git a/src/controls/private/QskLevelingSensorNodes.h b/src/controls/private/QskLevelingSensorNodes.h index 23f3dbd1..6fd02425 100644 --- a/src/controls/private/QskLevelingSensorNodes.h +++ b/src/controls/private/QskLevelingSensorNodes.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef QSK_LEVELING_SENSOR_NODES_H +#define QSK_LEVELING_SENSOR_NODES_H #include "QskLevelingSensorUtility.h" @@ -316,3 +317,5 @@ struct RadialTickmarksLabelsNode final : public TickmarksLabelsNode< RadialTickm } * s + o; } }; + +#endif \ No newline at end of file diff --git a/src/controls/private/QskLevelingSensorUtility.h b/src/controls/private/QskLevelingSensorUtility.h index 404092b5..e51e89cd 100644 --- a/src/controls/private/QskLevelingSensorUtility.h +++ b/src/controls/private/QskLevelingSensorUtility.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef QSK_LEVELING_SENSOR_UTILITY_H +#define QSK_LEVELING_SENSOR_UTILITY_H #include #include @@ -71,4 +72,6 @@ inline QskScaleTickmarks filtered( const QskScaleTickmarks& tickmarks, result.setMediumTicks( ticks[ QskScaleTickmarks::MediumTick ] ); result.setMajorTicks( ticks[ QskScaleTickmarks::MajorTick ] ); return result; -} \ No newline at end of file +} + +#endif \ No newline at end of file diff --git a/src/controls/private/QskSGNodeUtility.h b/src/controls/private/QskSGNodeUtility.h index 12ba5683..42bdf208 100644 --- a/src/controls/private/QskSGNodeUtility.h +++ b/src/controls/private/QskSGNodeUtility.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef QSK_SGNODE_UTILITY_H +#define QSK_SGNODE_UTILITY_H #include @@ -35,4 +36,6 @@ namespace QskSGNode return static_cast< Root* >( root ); } -} \ No newline at end of file +} + +#endif \ No newline at end of file