Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KLDAP
Commits
40e8b49a
Commit
40e8b49a
authored
Mar 31, 2021
by
Laurent Montel
😁
Browse files
GIt_SILENT: using pragma once directly
parent
8f77bcaf
Pipeline
#56071
skipped
Changes
28
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/ldapclientsearchconfigreadconfigjobtest.h
View file @
40e8b49a
...
...
@@ -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
autotests/testkldap.h
View file @
40e8b49a
...
...
@@ -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
kioslave/src/common.h
View file @
40e8b49a
...
...
@@ -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
kioslave/src/ldap/kio_ldap.h
View file @
40e8b49a
...
...
@@ -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
src/core/ber.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapconnection.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapcontrol.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapdefs.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapdn.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapobject.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapoperation.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapsearch.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapserver.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldapurl.h
View file @
40e8b49a
...
...
@@ -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
src/core/ldif.h
View file @
40e8b49a
...
...
@@ -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
src/core/w32-ldap-help.h
View file @
40e8b49a
...
...
@@ -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*/
src/widgets/addhostdialog.h
View file @
40e8b49a
...
...
@@ -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
src/widgets/ldapclient.h
View file @
40e8b49a
...
...
@@ -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
src/widgets/ldapclientsearch.h
View file @
40e8b49a
...
...
@@ -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
src/widgets/ldapclientsearchconfig.h
View file @
40e8b49a
...
...
@@ -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
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment