Use pragma once everywhere

This commit is contained in:
Bart De Vries 2023-01-04 10:27:22 +01:00
parent c7c774d5be
commit 787b373339
5 changed files with 6 additions and 18 deletions

View File

@ -4,8 +4,7 @@
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
#ifndef AUTHOR_H #pragma once
#define AUTHOR_H
#include <QObject> #include <QObject>
@ -30,5 +29,3 @@ private:
QString m_email; QString m_email;
QString m_url; QString m_url;
}; };
#endif // AUTHOR_H

View File

@ -1,6 +1,6 @@
/** /**
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de> * SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
* SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be> * SPDX-FileCopyrightText: 2021-2023 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */

View File

@ -1,12 +1,11 @@
/** /**
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de> * SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
* SPDX-FileCopyrightText: 2021-2022 Bart De Vries <bart@mogwai.be> * SPDX-FileCopyrightText: 2021-2023 Bart De Vries <bart@mogwai.be>
* *
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/ */
#ifndef ENTRY_H #pragma once
#define ENTRY_H
#include <QDateTime> #include <QDateTime>
#include <QDebug> #include <QDebug>
@ -111,5 +110,3 @@ private:
QString m_image; QString m_image;
bool m_hasenclosure = false; bool m_hasenclosure = false;
}; };
#endif // ENTRY_H

View File

@ -4,9 +4,6 @@
SPDX-License-Identifier: LGPL-2.0-or-later SPDX-License-Identifier: LGPL-2.0-or-later
*/ */
#ifndef CONFIG_SOLID_EXTRAS_H #pragma once
#define CONFIG_SOLID_EXTRAS_H
#cmakedefine HAVE_NM #cmakedefine HAVE_NM
#endif

View File

@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later SPDX-License-Identifier: LGPL-2.0-or-later
*/ */
#ifndef SOLIDEXTRAS_NETWORKSTATUS_H #pragma once
#define SOLIDEXTRAS_NETWORKSTATUS_H
#include "kastssolidextras_export.h" #include "kastssolidextras_export.h"
@ -39,5 +38,3 @@ Q_SIGNALS:
}; };
} }
#endif // SOLIDEXTRAS_NETWORKSTATUS_H