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

GIt_SILENT: using pragma once directly

parent 674aef54
Pipeline #56078 skipped
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef PARSERTEST_H
#define PARSERTEST_H
#pragma once
#include <QObject>
......@@ -19,4 +18,3 @@ private Q_SLOTS:
void testUmlautAttachmentFilenames();
};
#endif
......@@ -17,8 +17,7 @@
@author Reinhold Kainhofer
*/
#ifndef KTNEF_FORMATTER_H
#define KTNEF_FORMATTER_H
#pragma once
#include <KCalendarCore/MemoryCalendar>
#include <QString>
......@@ -53,4 +52,3 @@ Q_REQUIRED_RESULT KTNEF_EXPORT QString formatTNEFInvitation(const QByteArray &tn
Q_REQUIRED_RESULT KTNEF_EXPORT QString msTNEFToVPart(const QByteArray &tnef);
}
#endif
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef KTNEFATTACH_H
#define KTNEFATTACH_H
#pragma once
#include <QString>
......@@ -219,4 +218,3 @@ private:
};
}
#endif
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef KTNEFDEFS_H
#define KTNEFDEFS_H
#pragma once
//@cond IGNORE
#define TNEF_SIGNATURE 0x223e9f78
#define LVL_MESSAGE 0x01
......@@ -270,4 +269,3 @@
#define MAPI_TAG_PR_REFERRED_BY_NAME 0X3A47001E // ReferredBy
//@endcond
#endif /* KTNEFDEFS_H */
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef KTNEFMESSAGE_H
#define KTNEFMESSAGE_H
#pragma once
#include <QList>
......@@ -89,4 +88,3 @@ private:
};
}
#endif
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef KTNEFPARSER_H
#define KTNEFPARSER_H
#pragma once
#include "ktnef_export.h"
#include <QIODevice>
......@@ -114,4 +113,3 @@ private:
};
}
#endif
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef KTNEFPROPERTY_H
#define KTNEFPROPERTY_H
#pragma once
#include <QString>
#include <QVariant>
......@@ -143,4 +142,3 @@ private:
};
}
#endif
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef KTNEFPROPERTYSET_H
#define KTNEFPROPERTYSET_H
#pragma once
#include <QMap>
#include <QVariant>
......@@ -148,4 +147,3 @@ private:
};
}
#endif
......@@ -15,8 +15,7 @@
* @author Bo Thorsen
*/
#ifndef KTNEFWRITER_H
#define KTNEFWRITER_H
#pragma once
class QString;
class QVariant;
......@@ -282,4 +281,3 @@ private:
}
#endif // KTNEFWRITER_H
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef LZFU_H
#define LZFU_H
#pragma once
#include <QtGlobal>
class QIODevice;
namespace KTnef
......@@ -28,4 +27,3 @@ namespace KTnef
*/
Q_REQUIRED_RESULT int lzfu_decompress(QIODevice *input, QIODevice *output);
}
#endif
......@@ -15,8 +15,7 @@
* @author Michael Goffioul
*/
#ifndef MAPI_H
#define MAPI_H
#pragma once
#include <QString>
namespace KTnef
......@@ -36,4 +35,3 @@ Q_REQUIRED_RESULT QString mapiTagString(int key);
*/
Q_REQUIRED_RESULT QString mapiNamedTagString(int key, int tag = -1);
}
#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