Commit 40e8b49a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIt_SILENT: using pragma once directly

parent 8f77bcaf
Pipeline #56071 skipped
......@@ -4,8 +4,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAPCLIENTSEARCHCONFIGREADCONFIGJOBTEST_H
#define LDAPCLIENTSEARCHCONFIGREADCONFIGJOBTEST_H
#pragma once
#include <QObject>
......@@ -19,4 +18,3 @@ private Q_SLOTS:
void shouldHaveDefaultValues();
};
#endif // LDAPCLIENTSEARCHCONFIGREADCONFIGJOBTEST_H
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef TESTKLDAP_H
#define TESTKLDAP_H
#pragma once
#include <QObject>
#include <ldapobject.h>
......@@ -41,4 +40,3 @@ private:
LdapObjects m_objects;
};
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef _KIOSLAVE_COMMON_H
#define _KIOSLAVE_COMMON_H
#pragma once
#include <QCoreApplication>
#include <QDir>
......@@ -39,4 +38,3 @@ inline bool initSASL()
return true;
}
#endif
......@@ -4,8 +4,7 @@
SPDX-License-Identifier: MIT
*/
#ifndef __LDAP_H__
#define __LDAP_H__
#pragma once
#include <kio/authinfo.h>
#include <kio/slavebase.h>
......@@ -47,4 +46,3 @@ private:
void changeCheck(const KLDAP::LdapUrl &url);
};
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_BER_H
#define KLDAP_BER_H
#pragma once
#include <QByteArray>
......@@ -113,4 +112,3 @@ private:
BerPrivate *const d;
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPCONNECTION_H
#define KLDAP_LDAPCONNECTION_H
#pragma once
#include <QString>
......@@ -122,4 +121,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPCONTROL_H
#define KLDAP_LDAPCONTROL_H
#pragma once
#include <QSharedDataPointer>
#include <QString>
......@@ -101,4 +100,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_DEFS_H
#define KLDAP_DEFS_H
#pragma once
/**
* LDAP Error codes.
......@@ -145,4 +144,3 @@
#define KLDAP_SASL_ERROR -0xff
#endif // KLDAP_DEFS_H
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPDN_H
#define KLDAP_LDAPDN_H
#pragma once
#include "kldap_export.h"
#include <QString>
......@@ -70,4 +69,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPOBJECT_H
#define KLDAP_LDAPOBJECT_H
#pragma once
#include <QList>
#include <QMap>
......@@ -102,4 +101,3 @@ private:
typedef QVector<LdapObject> LdapObjects;
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPOPERATION_H
#define KLDAP_LDAPOPERATION_H
#pragma once
#include "kldap_export.h"
#include "ldapconnection.h"
......@@ -271,4 +270,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPSEARCH_H
#define KLDAP_LDAPSEARCH_H
#pragma once
#include <QObject>
#include <QString>
......@@ -132,4 +131,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPSERVER_H
#define KLDAP_LDAPSERVER_H
#pragma once
#include <QString>
......@@ -315,4 +314,3 @@ private:
}
KLDAP_EXPORT QDebug operator<<(QDebug d, const KLDAP::LdapServer &t);
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPURL_H
#define KLDAP_LDAPURL_H
#pragma once
#include <QStringList>
......@@ -167,4 +166,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDIF_H
#define KLDAP_LDIF_H
#pragma once
#include <QByteArray>
#include <QString>
......@@ -174,4 +173,3 @@ private:
};
}
#endif
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef W32_LDAP_HELP_H
#define W32_LDAP_HELP_H
#pragma once
#include <windows.h>
#ifdef UNICODE
......@@ -87,4 +86,3 @@ typedef ULONG ber_len_t;
#define win_ldap_parse_result(a, b, c, d, e, f, g, h) ldap_parse_resultA((a), (b), ((ulong *)c), (d), (e), (f), (g), (h))
#define win_ldap_modify_ext_s(a, b, c, d, e) ldap_modify_ext_sW((a), (b), (c), (d), (e))
#define win_ldap_compare_ext_s(a, b, c, d, e, f) ldap_compare_ext_sA((a), (b), (c), (d), (e), (f))
#endif /*W32_LDAP_HELP_H*/
......@@ -6,8 +6,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef ADDHOSTDIALOG_H
#define ADDHOSTDIALOG_H
#pragma once
#include "kldap_export.h"
#include <QDialog>
......@@ -40,4 +39,3 @@ private:
};
}
#endif // ADDHOSTDIALOG_H
......@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KLDAP_LDAPCLIENT_H
#define KLDAP_LDAPCLIENT_H
#pragma once
#include "kldap_export.h"
......@@ -139,4 +138,3 @@ private:
};
}
#endif
......@@ -5,8 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAPCLIENTSEARCH_H
#define LDAPCLIENTSEARCH_H
#pragma once
#include "kldap_export.h"
......@@ -175,4 +174,3 @@ private:
Q_DECLARE_TYPEINFO(KLDAP::LdapResult, Q_MOVABLE_TYPE);
Q_DECLARE_TYPEINFO(KLDAP::LdapResultObject, Q_MOVABLE_TYPE);
#endif // LDAPCLIENTSEARCH_H
......@@ -4,8 +4,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAPCLIENTSEARCHCONFIG_H
#define LDAPCLIENTSEARCHCONFIG_H
#pragma once
#include "kldap_export.h"
......@@ -41,4 +40,3 @@ private:
};
}
#endif // LDAPCLIENTSEARCHCONFIG_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