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
f9a6ff1d
Commit
f9a6ff1d
authored
Nov 26, 2020
by
Laurent Montel
😁
Browse files
Install headers + use server directly
parent
a1d05565
Pipeline
#42102
passed with stage
in 8 minutes and 33 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f9a6ff1d
cmake_minimum_required
(
VERSION 3.5
)
set
(
PIM_VERSION
"5.16.4
0
"
)
set
(
PIM_VERSION
"5.16.4
1
"
)
project
(
KLdap VERSION
${
PIM_VERSION
}
)
...
...
src/CMakeLists.txt
View file @
f9a6ff1d
...
...
@@ -131,6 +131,8 @@ ecm_generate_headers(KLdapWidgets_CamelCase_HEADERS
AddHostDialog
LdapClient
LdapConfigureWidget
LdapClientSearchConfigWriteConfigJob
LdapClientSearchConfigReadConfigJob
RELATIVE widgets
PREFIX KLDAP
REQUIRED_HEADERS KLdapWidgets_HEADERS
...
...
src/widgets/ldapclientsearchconfigwriteconfigjob.cpp
View file @
f9a6ff1d
...
...
@@ -138,3 +138,13 @@ void LdapClientSearchConfigWriteConfigJob::writeConfig()
}
}
KLDAP
::
LdapServer
LdapClientSearchConfigWriteConfigJob
::
server
()
const
{
return
mServer
;
}
void
LdapClientSearchConfigWriteConfigJob
::
setServer
(
const
KLDAP
::
LdapServer
&
server
)
{
mServer
=
server
;
}
src/widgets/ldapclientsearchconfigwriteconfigjob.h
View file @
f9a6ff1d
...
...
@@ -33,6 +33,9 @@ public:
Q_REQUIRED_RESULT
KConfigGroup
config
()
const
;
void
setConfig
(
const
KConfigGroup
&
newConfig
);
Q_REQUIRED_RESULT
KLDAP
::
LdapServer
server
()
const
;
void
setServer
(
const
KLDAP
::
LdapServer
&
server
);
Q_SIGNALS:
void
configSaved
();
...
...
src/widgets/ldapconfigurewidget.cpp
View file @
f9a6ff1d
...
...
@@ -264,6 +264,7 @@ void LdapConfigureWidget::save()
job
->
setActive
(
true
);
job
->
setConfig
(
group
);
job
->
setServerIndex
(
selected
);
job
->
setServer
(
server
);
job
->
start
();
selected
++
;
}
else
{
...
...
@@ -271,6 +272,7 @@ void LdapConfigureWidget::save()
job
->
setActive
(
false
);
job
->
setConfig
(
group
);
job
->
setServerIndex
(
unselected
);
job
->
setServer
(
server
);
job
->
start
();
unselected
++
;
}
...
...
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