Commit 20d06ee5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent cac2f7e6
Pipeline #56073 skipped
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef TESTDNDFACTORY_H
#define TESTDNDFACTORY_H
#pragma once
#include <QObject>
......@@ -37,4 +36,3 @@ private Q_SLOTS:
*/
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef TESTINCIDENCEFORMATTER_H
#define TESTINCIDENCEFORMATTER_H
#pragma once
#include <QObject>
......@@ -47,4 +46,3 @@ private Q_SLOTS:
void testFormatIcalInvitation();
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef TESTSTRINGIFY_H
#define TESTSTRINGIFY_H
#pragma once
#include <QObject>
......@@ -21,4 +20,3 @@ private Q_SLOTS:
void testUTCoffsetStrings();
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef TESTTODOTOOLTIP_H
#define TESTTODOTOOLTIP_H
#pragma once
#include <QObject>
......@@ -28,4 +27,3 @@ private Q_SLOTS:
void testPriority();
};
#endif
......@@ -17,8 +17,7 @@
@author Cornelius Schumacher \<schumacher@kde.org\>
@author Reinhold Kainhofer \<reinhold@kainhofer.com\>
*/
#ifndef KCALUTILS_DNDFACTORY_H
#define KCALUTILS_DNDFACTORY_H
#pragma once
#include "kcalutils_export.h"
......@@ -162,4 +161,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
*
*/
#ifndef DATETIMEFILTERS_H
#define DATETIMEFILTERS_H
#pragma once
#include <grantlee/filter.h>
......@@ -49,4 +48,3 @@ private:
Q_DISABLE_COPY(KDateTimeFilter)
};
#endif // DATETIMEFILTERS_H
......@@ -5,8 +5,7 @@
*
*/
#ifndef ICON_H
#define ICON_H
#pragma once
#include <grantlee/node.h>
......@@ -63,4 +62,3 @@ private:
int mSizeOrGroup;
};
#endif // ICON_H
......@@ -5,8 +5,7 @@
*
*/
#ifndef KCALENDARGRANTLEEPLUGIN_H
#define KCALENDARGRANTLEEPLUGIN_H
#pragma once
#include <grantlee/taglibraryinterface.h>
......@@ -24,4 +23,3 @@ public:
QHash<QString, Grantlee::AbstractNodeFactory *> nodeFactories(const QString &name) override;
};
#endif // KCALENDARGRANTLEEPLUGIN_H
......@@ -5,8 +5,7 @@
*
*/
#ifndef GRANTLEEKI18NLOCALIZER_H
#define GRANTLEEKI18NLOCALIZER_H
#pragma once
#include <grantlee/qtlocalizer.h>
......@@ -38,4 +37,3 @@ private:
Q_REQUIRED_RESULT QString processArguments(const KLocalizedString &str, const QVariantList &arguments) const;
};
#endif // GRANTLEEKI18NLOCALIZER_H
......@@ -5,8 +5,7 @@
*
*/
#ifndef GRANTLEETEMPLATEMANAGER_P_H
#define GRANTLEETEMPLATEMANAGER_P_H
#pragma once
#include "kcalutils_private_export.h"
#include <QSharedPointer>
......@@ -50,4 +49,3 @@ private:
static GrantleeTemplateManager *sInstance;
};
#endif // GRANTLEETEMPLATEMANAGER_P_H
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KCALUTILS_HTMLEXPORT_H
#define KCALUTILS_HTMLEXPORT_H
#pragma once
#include "kcalutils_export.h"
......@@ -88,4 +87,3 @@ private:
};
}
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KCALUTILS_ICALDRAG_H
#define KCALUTILS_ICALDRAG_H
#pragma once
#include "kcalutils_export.h"
......@@ -44,4 +43,3 @@ Q_REQUIRED_RESULT KCALUTILS_EXPORT bool fromMimeData(const QMimeData *e, const K
}
}
#endif
......@@ -16,8 +16,7 @@
@author Reinhold Kainhofer \<reinhold@kainhofer.com\>
@author Allen Winter \<allen@kdab.com\>
*/
#ifndef KCALUTILS_INCIDENCEFORMATTER_H
#define KCALUTILS_INCIDENCEFORMATTER_H
#pragma once
#include "kcalutils_export.h"
......@@ -205,4 +204,3 @@ class MailBodyVisitor;
}
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KCALUTILSPRIVATE_EXPORT_H
#define KCALUTILSPRIVATE_EXPORT_H
#pragma once
#include "kcalutils_export.h"
......@@ -18,4 +17,3 @@
#define KCALUTILS_TESTS_EXPORT
#endif
#endif
......@@ -5,8 +5,7 @@
*
*/
#ifndef QTRESOURCETEMPLATELOADER_H
#define QTRESOURCETEMPLATELOADER_H
#pragma once
#include "grantlee/templateloader.h"
namespace KCalUtils
......@@ -20,4 +19,3 @@ public:
Q_REQUIRED_RESULT bool canLoadTemplate(const QString &name) const override;
};
}
#endif // QTRESOURCETEMPLATELOADER_H
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef RECURRENCEACTIONS_H
#define RECURRENCEACTIONS_H
#pragma once
#include "kcalutils_export.h"
......@@ -155,4 +154,3 @@ Q_REQUIRED_RESULT KCALUTILS_EXPORT int questionSelectedFutureAllCancel(const QSt
}
}
#endif
......@@ -16,8 +16,7 @@
@author Reinhold Kainhofer \<reinhold@kainhofer.com\>
@author Allen Winter \<allen@kdab.com\>
*/
#ifndef KCALUTILS_STRINGIFY_H
#define KCALUTILS_STRINGIFY_H
#pragma once
#include "kcalutils_export.h"
......@@ -80,4 +79,3 @@ Q_REQUIRED_RESULT KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exc
} // namespace Stringify
} // namespace KCalUtils
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KCALUTILS_VCALDRAG_H
#define KCALUTILS_VCALDRAG_H
#pragma once
#include "kcalutils_export.h"
#include <KCalendarCore/MemoryCalendar>
......@@ -38,4 +37,3 @@ Q_REQUIRED_RESULT KCALUTILS_EXPORT bool fromMimeData(const QMimeData *e, const K
}
}
#endif
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