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

GIt_SILENT: using pragma once directly

parent 84b8db1a
Pipeline #56076 skipped
......@@ -8,8 +8,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ABSTRACTKEYLISTMODELTEST_H
#define ABSTRACTKEYLISTMODELTEST_H
#pragma once
#include <QObject>
......@@ -37,4 +36,3 @@ private:
virtual Kleo::AbstractKeyListModel *createModel() = 0;
};
#endif // ABSTRACTKEYLISTMODELTEST_H
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_CHECKSUMDEFINITION_H__
#define __KLEO_CHECKSUMDEFINITION_H__
#pragma once
#include "kleo_export.h"
......@@ -106,5 +105,4 @@ private:
}
#endif /* __KLEO_CHECKSUMDEFINITION_H__ */
......@@ -8,8 +8,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef LIBKLEO_DEBUG_H
#define LIBKLEO_DEBUG_H
#pragma once
#include "kleo_export.h"
......@@ -22,4 +21,3 @@ class QDebug;
KLEO_EXPORT QDebug operator<<(QDebug debug, const Kleo::KeyGroup &group);
#endif // LIBKLEO_DEBUG_H
......@@ -10,8 +10,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_DEFAULTKEYFILTER_H__
#define __KLEO_DEFAULTKEYFILTER_H__
#pragma once
#include "keyfilter.h"
......@@ -135,4 +134,3 @@ private:
};
} // namespace Kleo
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef LIBKLEO_DEFAULTKEYGENERATIONJOB_H
#define LIBKLEO_DEFAULTKEYGENERATIONJOB_H
#pragma once
#include <qgpgme/job.h>
......@@ -61,4 +60,3 @@ private:
}
#endif
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_DN_H__
#define __KLEO_DN_H__
#pragma once
#include "kleo_export.h"
......@@ -137,4 +136,3 @@ private:
}
#endif // __KLEO_DN_H__
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_ENUM_H__
#define __KLEO_ENUM_H__
#pragma once
#include "kleo_export.h"
......@@ -86,4 +85,3 @@ KLEO_EXPORT TrustLevel trustLevel(const GpgME::UserID &uid);
}
#endif // __KLEO_CRYPTOBACKEND_H__
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_KCONFIGBASEDKEYFILTER_H__
#define __KLEO_KCONFIGBASEDKEYFILTER_H__
#pragma once
#include "defaultkeyfilter.h"
......@@ -25,4 +24,3 @@ public:
}
#endif // __KLEO_KCONFIGBASEDKEYFILTER_H__
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_KEYFILTER_H__
#define __KLEO_KEYFILTER_H__
#pragma once
#include <QFlags>
......@@ -95,4 +94,3 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(KeyFilter::MatchContexts)
}
#endif // __KLEO_KEYFILTER_H__
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_KEYFILTERMANAGER_H__
#define __KLEO_KEYFILTERMANAGER_H__
#pragma once
#include "kleo_export.h"
#include <QObject>
......@@ -66,4 +65,3 @@ private:
}
#endif // __KLEO_KEYFILTERMANAGER_H__
......@@ -8,8 +8,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef LIBKLEO_KEYGROUP_H
#define LIBKLEO_KEYGROUP_H
#pragma once
#include "kleo_export.h"
......@@ -78,4 +77,3 @@ private:
}
#endif // LIBKLEO_KEYGROUP_H
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_KEYRESOLVER_H__
#define __KLEO_KEYRESOLVER_H__
#pragma once
#include "kleo_export.h"
......@@ -198,5 +197,4 @@ private:
};
} // namespace Kleo
#endif // __KLEO_KEYRESOLVER_H__
......@@ -9,8 +9,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __LIBKLEO_KEYRESOLVERCORE_H__
#define __LIBKLEO_KEYRESOLVERCORE_H__
#pragma once
#include "kleo_export.h"
......@@ -69,4 +68,3 @@ private:
} // namespace Kleo
#endif // __LIBKLEO_KEYRESOLVER_H__
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_EXCEPTION_H__
#define __KLEO_EXCEPTION_H__
#pragma once
#include "kleo_export.h"
......@@ -56,4 +55,3 @@ public:
}
#endif /* __KLEO_EXCEPTION_H__ */
......@@ -8,8 +8,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEO_OIDMAP_H__
#define __KLEO_OIDMAP_H__
#pragma once
#include "kleo_export.h"
......@@ -38,4 +37,3 @@ static const unsigned int numOidMaps = sizeof oidmap / sizeof * oidmap;
KLEO_EXPORT const char *oidForAttributeName(const QString &attr);
#endif // __KLEO_OIDMAP_H__
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEOPATRA_MODELS_PREDICATES_H__
#define __KLEOPATRA_MODELS_PREDICATES_H__
#pragma once
#include <gpgme++/key.h>
......@@ -186,4 +185,3 @@ void grep_can_encrypt(T &t)
}
}
#endif /* __KLEOPATRA_MODELS_PREDICATES_H__ */
......@@ -7,8 +7,7 @@
**
**********************************************************************/
#ifndef __KDTOOLSCORE_STL_UTIL_H__
#define __KDTOOLSCORE_STL_UTIL_H__
#pragma once
#include <algorithm>
#include <numeric>
......@@ -258,5 +257,4 @@ bool set_intersects(ForwardIterator first1, ForwardIterator last1,
}
#endif /* __KDTOOLSCORE_STL_UTIL_H__ */
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEOPATRA_MODELS_KEYCACHE_H__
#define __KLEOPATRA_MODELS_KEYCACHE_H__
#pragma once
#include <QObject>
......@@ -183,4 +182,3 @@ private:
Q_DECLARE_OPERATORS_FOR_FLAGS(Kleo::KeyCache::Options)
#endif /* __KLEOPATRA_MODELS_KEYCACHE_H__ */
......@@ -7,8 +7,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __KLEOPATRA_KEYCACHE_P_H__
#define __KLEOPATRA_KEYCACHE_P_H__
#pragma once
#include "keycache.h"
......@@ -43,4 +42,3 @@ private:
};
}
#endif // __KLEOPATRA_KEYCACHE_P_H__
......@@ -9,8 +9,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef LIBKLEO_KEYLIST_H
#define LIBKLEO_KEYLIST_H
#pragma once
namespace Kleo
{
......@@ -49,4 +48,3 @@ namespace KeyList
}
}
#endif /* LIBKLEO_KEYLIST_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