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
5400b85a
Commit
5400b85a
authored
Nov 23, 2020
by
Laurent Montel
😁
Browse files
Start to implement async job
parent
aabec3f9
Pipeline
#41829
passed with stage
in 8 minutes and 42 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
5400b85a
...
...
@@ -50,6 +50,7 @@ set(kldap_LIB_widgets_SRCS
widgets/ldapclientsearch.cpp
widgets/ldapclientsearchconfig.cpp
widgets/ldapconfigurewidget.cpp
widgets/ldapclientsearchconfigreadconfigjob.cpp
)
set
(
kldap_LIB_SRCS
...
...
src/widgets/ldapclientsearchconfig.cpp
View file @
5400b85a
...
...
@@ -71,6 +71,7 @@ void LdapClientSearchConfig::clearWalletPassword()
}
}
//Move as async.
void
LdapClientSearchConfig
::
readConfig
(
KLDAP
::
LdapServer
&
server
,
KConfigGroup
&
config
,
int
j
,
bool
active
)
{
QString
prefix
;
...
...
src/widgets/ldapclientsearchconfigreadconfigjob.cpp
0 → 100644
View file @
5400b85a
/*
* SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "ldapclientsearchconfigreadconfigjob.h"
using
namespace
KLDAP
;
LdapClientSearchConfigReadConfigJob
::
LdapClientSearchConfigReadConfigJob
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
LdapClientSearchConfigReadConfigJob
::~
LdapClientSearchConfigReadConfigJob
()
{
}
void
LdapClientSearchConfigReadConfigJob
::
start
()
{
//TODO
}
src/widgets/ldapclientsearchconfigreadconfigjob.h
0 → 100644
View file @
5400b85a
/*
* SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef LDAPCLIENTSEARCHCONFIGREADCONFIGJOB_H
#define LDAPCLIENTSEARCHCONFIGREADCONFIGJOB_H
#include <QObject>
namespace
KLDAP
{
class
LdapClientSearchConfigReadConfigJob
:
public
QObject
{
Q_OBJECT
public:
explicit
LdapClientSearchConfigReadConfigJob
(
QObject
*
parent
=
nullptr
);
~
LdapClientSearchConfigReadConfigJob
()
override
;
void
start
();
};
}
#endif // LDAPCLIENTSEARCHCONFIGREADCONFIGJOB_H
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