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

GIT_SILENT: use #pragma once

parent 4586238b
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef ATTACHMENTJOBTEST_H
#define ATTACHMENTJOBTEST_H
#pragma once
#include <QObject>
......@@ -18,4 +17,3 @@ private Q_SLOTS:
// void testTextCharsetAutodetect();
};
#endif
......@@ -5,8 +5,7 @@
*/
#ifndef ATTACHMENTVCARDFROMADDRESSBOOKJOBTEST_H
#define ATTACHMENTVCARDFROMADDRESSBOOKJOBTEST_H
#pragma once
#include <QObject>
......@@ -23,4 +22,3 @@ private Q_SLOTS:
void testAttachmentVCardWithEmptyVCard();
};
#endif // ATTACHMENTVCARDFROMADDRESSBOOKJOBTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef AUTOCRYPTHEADERSJOBTEST_H
#define AUTOCRYPTHEADERSJOBTEST_H
#pragma once
#include <QObject>
......@@ -29,4 +28,3 @@ private Q_SLOTS:
void testStripSenderKey();
};
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef COMPOSERTEST_H
#define COMPOSERTEST_H
#pragma once
#include <QObject>
......@@ -30,4 +29,3 @@ private:
void fillComposerData(MessageComposer::Composer *composer);
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef COMPOSERVIEWBASETEST_H
#define COMPOSERVIEWBASETEST_H
#pragma once
#include <QObject>
......@@ -19,4 +18,3 @@ private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif // COMPOSERVIEWBASETEST_H
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef CRYPTOCOMPOSERTEST_H
#define CRYPTOCOMPOSERTEST_H
#pragma once
#include <QObject>
......@@ -81,4 +80,3 @@ private:
void runSMIMETest(bool sign, bool enc, bool opaque);
};
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef CRYPTO_FUNCTIONS_H
#define CRYPTO_FUNCTIONS_H
#pragma once
#include <Libkleo/Enum>
#include <QByteArray>
......@@ -50,4 +49,3 @@ void verifySignatureAndEncryption(KMime::Content *content,
bool combind = false);
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef ENCRYPTJOBTEST_H
#define ENCRYPTJOBTEST_H
#pragma once
#include <QObject>
......@@ -37,4 +36,3 @@ private:
void checkEncryption(MessageComposer::EncryptJob *eJob);
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef FOLLOWUPREMINDERSELECTDATEDIALOGTEST_H
#define FOLLOWUPREMINDERSELECTDATEDIALOGTEST_H
#pragma once
#include <QObject>
......@@ -26,4 +25,3 @@ private:
QStandardItemModel *defaultItemModel();
};
#endif // FOLLOWUPREMINDERSELECTDATEDIALOGTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef GLOBALPARTTEST_H
#define GLOBALPARTTEST_H
#pragma once
#include <QObject>
class GlobalPartTest : public QObject
......@@ -18,4 +17,3 @@ private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif // GLOBALPARTTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef INFOPARTTEST_H
#define INFOPARTTEST_H
#pragma once
#include <QObject>
......@@ -19,4 +18,3 @@ private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif // INFOPARTTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KEYRESOLVERTEST_H
#define KEYRESOLVERTEST_H
#pragma once
#include <QDir>
#include <QObject>
......@@ -25,4 +24,3 @@ private:
QDir baseDir;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef MAINTEXTJOBTEST_H
#define MAINTEXTJOBTEST_H
#pragma once
#include <QObject>
......@@ -29,4 +28,3 @@ private Q_SLOTS:
void testHtmlWithImages();
};
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef MESSAGEFACTORYNG_TEST_H
#define MESSAGEFACTORYNG_TEST_H
#pragma once
#include <QObject>
#include <kmime/kmime_message.h>
......@@ -60,4 +59,3 @@ private:
KIdentityManagement::IdentityManager *mIdentMan = nullptr;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef MULTIPARTJOBTEST_H
#define MULTIPARTJOBTEST_H
#pragma once
#include <QObject>
......@@ -17,4 +16,3 @@ private Q_SLOTS:
void test8BitPropagation();
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef PLUGINEDITORCHECKBEFORESENDPARAMSTEST_H
#define PLUGINEDITORCHECKBEFORESENDPARAMSTEST_H
#pragma once
#include <QObject>
......@@ -22,4 +21,3 @@ private Q_SLOTS:
void shouldAssignValue();
};
#endif // PLUGINEDITORCHECKBEFORESENDPARAMSTEST_H
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: LGPL-2.0-only
*/
#ifndef QTEST_MESSAGECOMPOSER_H
#define QTEST_MESSAGECOMPOSER_H
#pragma once
/**
* Runs a MessageComposer::JobBase synchronously and aborts if the job failed.
......@@ -17,4 +16,3 @@
*/
#define VERIFYEXEC(job) QVERIFY2(job->exec(), job->errorString().toUtf8().constData())
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef REPLYSTRATEGY_TEST_H
#define REPLYSTRATEGY_TEST_H
#pragma once
#include <KMime/Message>
......@@ -39,4 +38,3 @@ private:
KIdentityManagement::IdentityManager *mIdentityManager;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef SENDLATERDIALOGTEST_H
#define SENDLATERDIALOGTEST_H
#pragma once
#include <QObject>
......@@ -20,4 +19,3 @@ private Q_SLOTS:
void initTestCase();
};
#endif // SENDLATERDIALOGTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef SENDLATERINFOTEST_H
#define SENDLATERINFOTEST_H
#pragma once
#include <QObject>
......@@ -22,4 +21,3 @@ private Q_SLOTS:
void shouldCopyInfo();
};
#endif // SENDLATERINFOTEST_H
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