rename header guards

This commit is contained in:
Peter Hartmann 2021-04-21 11:26:39 +02:00
parent cdc584506d
commit 2578edce08
8 changed files with 37 additions and 14 deletions

View File

@ -1,5 +1,5 @@
#ifndef CARD_H
#define CARD_H
#ifndef BOX_H
#define BOX_H
#include <QskLinearBox.h>
@ -22,4 +22,4 @@ class Box : public QskLinearBox
QskControl* m_content;
};
#endif // CARD_H
#endif // BOX_H

View File

@ -1,6 +1,10 @@
// ### copyright Uwe
/******************************************************************************
* QSkinny - Copyright (C) 2021 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#pragma once
#ifndef DIAGRAM_H
#define DIAGRAM_H
#include <QskControl.h>
#include <QskNamespace.h>
@ -48,3 +52,5 @@ class Diagram : public QskControl
};
Q_DECLARE_OPERATORS_FOR_FLAGS( Diagram::Types )
#endif // DIAGRAM_H

View File

@ -1,4 +1,10 @@
#pragma once
/******************************************************************************
* QSkinny - Copyright (C) 2021 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#ifndef DIAGRAM_SKINLET_H
#define DIAGRAM_SKINLET_H
#include <QskSkinlet.h>
@ -32,3 +38,5 @@ class DiagramSkinlet : public QskSkinlet
QSGNode* updateChartNode( const Diagram*, QSGNode* ) const;
QSGNode* updateSeparatorNode( const Diagram*, QSGNode* ) const;
};
#endif // DIAGRAM_SKINLET_H

View File

@ -1,5 +1,5 @@
#ifndef PIECHARTSKINLET_H
#define PIECHARTSKINLET_H
#ifndef PIECHART_SKINLET_H
#define PIECHART_SKINLET_H
#include <QskSkinlet.h>
@ -28,4 +28,4 @@ class PieChartSkinlet : public QskSkinlet
QSGNode* updateLabelsNode( const PieChart*, QSGNode* ) const;
};
#endif // PIECHARTSKINLET_H
#endif // PIECHART_SKINLET_H

View File

@ -1,5 +1,5 @@
#ifndef DSKIN_H
#define DSKIN_H
#ifndef SKIN_H
#define SKIN_H
#include <QskGradient.h>
#include <QskSkin.h>

View File

@ -1,4 +1,5 @@
#pragma once
#ifndef TOPBAR_H
#define TOPBAR_H
#include <QskLinearBox.h>
#include <QskTextLabel.h>
@ -100,3 +101,5 @@ class TopBar : public QskLinearBox
private:
QList< TopBarItem* > m_entries;
};
#endif

View File

@ -1,4 +1,5 @@
#pragma once
#ifndef DIAGRAMDATANODE_H
#define DIAGRAMDATANODE_H
#include <QskNamespace.h>
@ -31,3 +32,5 @@ class IdlChartNode : public QSGGeometryNode
Qsk::Position m_position;
int m_lineWidth;
};
#endif

View File

@ -1,4 +1,5 @@
#pragma once
#ifndef DIAGRAMSEGMENTSNODE_H
#define DIAGRAMSEGMENTSNODE_H
#include <QPolygonF>
#include <QSGFlatColorMaterial>
@ -20,3 +21,5 @@ class IdlChartSegmentsNode : public QSGGeometryNode
QVector< QVector<QPointF> > m_dataPoints;
int m_xGridLines;
};
#endif