Commit b6e7ecba authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent 5f775574
Pipeline #56084 skipped
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KADATETIMETEST_H
#define KADATETIMETEST_H
#pragma once
#include <QObject>
......@@ -44,4 +43,3 @@ private Q_SLOTS:
void misc();
};
#endif
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KAEVENTTEST_H
#define KAEVENTTEST_H
#pragma once
#include <QObject>
......@@ -22,4 +21,3 @@ private Q_SLOTS:
void toKCalEvent();
};
#endif
......@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AKONADI_SERIALIZER_KALARM_H
#define AKONADI_SERIALIZER_KALARM_H
#pragma once
#include "kaeventformatter.h"
......@@ -44,4 +43,3 @@ private:
QString mRegistered;
};
#endif // AKONADI_SERIALIZER_KALARM_H
......@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KAEVENTFORMATTER_H
#define KAEVENTFORMATTER_H
#pragma once
#include <kalarmcal/kaevent.h>
......@@ -102,4 +101,3 @@ private:
QString mUnspecifiedValue;
};
#endif // KAEVENTFORMATTER_H
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARMCAL_AKONADI_H
#define KALARMCAL_AKONADI_H
#pragma once
#include "kalarmcal_export.h"
......@@ -35,4 +34,3 @@ KALARMCAL_EXPORT bool setItemPayload(Akonadi::Item &item, const KAEvent &event,
}
#endif // KALARMCAL_AKONADI_H
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_ALARMTEXT_H
#define KALARM_ALARMTEXT_H
#pragma once
#include "kalarmcal_export.h"
......@@ -199,6 +198,5 @@ private:
} // namespace KAlarmCal
#endif // KALARM_ALARMTEXT_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_COLLECTION_ATTRIBUTE_H
#define KALARM_COLLECTION_ATTRIBUTE_H
#pragma once
#include "kalarmcal_export.h"
......@@ -145,6 +144,5 @@ private:
} // namespace KAlarmCal
#endif // KALARM_COLLECTION_ATTRIBUTE_H
// vim: et sw=4:
......@@ -6,8 +6,7 @@
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_COMPATIBILITY_ATTRIBUTE_H
#define KALARM_COMPATIBILITY_ATTRIBUTE_H
#pragma once
#include "kalarmcal_export.h"
......@@ -86,6 +85,5 @@ private:
} // namespace KAlarmCal
#endif // KALARM_COMPATIBILITY_ATTRIBUTE_H
// vim: et sw=4:
......@@ -6,8 +6,7 @@
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_DATETIME_H
#define KALARM_DATETIME_H
#pragma once
#include "kalarmcal_export.h"
......@@ -333,6 +332,5 @@ inline bool operator<=(const KADateTime &dt1, const DateTime &dt2)
} // namespace KAlarmCal
#endif // KALARM_DATETIME_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_EVENT_ATTRIBUTE_H
#define KALARM_EVENT_ATTRIBUTE_H
#pragma once
#include "kalarmcal_export.h"
......@@ -68,6 +67,5 @@ private:
} // namespace KAlarmCal
#endif // KALARM_EVENT_ATTRIBUTE_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_IDENTITIES_H
#define KALARM_IDENTITIES_H
#pragma once
#include "kalarmcal_export.h"
#include <qglobal.h>
......@@ -42,6 +41,5 @@ KALARMCAL_EXPORT uint identityUoid(const QString &identityUoidOrName);
}
#endif // KALARM_IDENTITIES_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_KACALENDAR_H
#define KALARM_KACALENDAR_H
#pragma once
#include "kalarmcal_export.h"
......@@ -139,6 +138,5 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(CalEvent::Types)
KALARMCAL_EXPORT QDebug operator<<(QDebug, KAlarmCal::CalEvent::Type);
#endif // KALARM_KACALENDAR_H
// vim: et sw=4:
......@@ -12,8 +12,7 @@
* @author David Jarvie <djarvie@kde.org>.
*/
#ifndef KALARM_KADATETIME_H
#define KALARM_KADATETIME_H
#pragma once
#include "kalarmcal_export.h"
......@@ -1473,6 +1472,5 @@ KALARMCAL_EXPORT QDataStream &operator>>(QDataStream &in, KADateTime &dateTime);
Q_DECLARE_METATYPE(KAlarmCal::KADateTime)
Q_DECLARE_METATYPE(KAlarmCal::KADateTime::Spec)
#endif // KALARM_KADATETIME_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_KAEVENT_H
#define KALARM_KAEVENT_H
#pragma once
#include "kalarmcal_export.h"
......@@ -1474,6 +1473,5 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(KAlarmCal::KAEvent::Flags)
Q_DECLARE_OPERATORS_FOR_FLAGS(KAlarmCal::KAEvent::Comparison)
Q_DECLARE_METATYPE(KAlarmCal::KAEvent)
#endif // KALARM_KAEVENT_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_KARECURRENCE_H
#define KALARM_KARECURRENCE_H
#pragma once
#include "kalarmcal_export.h"
#include "kadatetime.h"
......@@ -446,6 +445,5 @@ private:
} // namespace KAlarmCal
#endif // KALARM_KARECURRENCE_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_REPETITION_H
#define KALARM_REPETITION_H
#pragma once
#include "kalarmcal_export.h"
#include <KCalendarCore/Duration>
......@@ -124,6 +123,5 @@ private:
} // namespace KAlarmCal
#endif // KALARM_REPETITION_H
// vim: et sw=4:
......@@ -7,8 +7,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KALARM_VERSION_H
#define KALARM_VERSION_H
#pragma once
#include "kalarmcal_export.h"
#include <QString>
......@@ -27,6 +26,5 @@ KALARMCAL_EXPORT QString getVersionString(int version);
}
#endif // KALARM_VERSION_H
// vim: et sw=4:
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