KLdap

ldapclientsearchconfig.cpp
1/*
2 * SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#include "ldapclientsearchconfig.h"
8using namespace Qt::Literals::StringLiterals;
9
10#include "kldapcore/ldapserver.h"
11
12#include <KConfig>
13#include <qt6keychain/keychain.h>
14using namespace QKeychain;
15using namespace KLDAPCore;
16
17class Q_DECL_HIDDEN LdapClientSearchConfig::LdapClientSearchConfigPrivate
18{
19public:
20 LdapClientSearchConfigPrivate() = default;
21
22 ~LdapClientSearchConfigPrivate() = default;
23};
24
25Q_GLOBAL_STATIC_WITH_ARGS(KConfig, s_config, ("kabldaprc"_L1, KConfig::NoGlobals))
26
27KConfig *LdapClientSearchConfig::config()
28{
29 return s_config;
30}
31
32LdapClientSearchConfig::LdapClientSearchConfig(QObject *parent)
33 : QObject(parent)
34 , d(new LdapClientSearchConfig::LdapClientSearchConfigPrivate())
35{
36}
37
38LdapClientSearchConfig::~LdapClientSearchConfig() = default;
39
40#include "moc_ldapclientsearchconfig.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.