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
806e7586
Commit
806e7586
authored
Nov 22, 2020
by
Laurent Montel
😁
Browse files
Modernize code
parent
a3b91aae
Pipeline
#41792
passed with stage
in 8 minutes and 49 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/addhostdialog.cpp
View file @
806e7586
...
...
@@ -38,7 +38,7 @@ public:
KLDAP
::
LdapConfigWidget
*
mCfg
=
nullptr
;
KLDAP
::
LdapServer
*
mServer
=
nullptr
;
QPushButton
*
mOkButton
=
nullptr
;
AddHostDialog
*
q
=
nullptr
;
AddHostDialog
*
const
q
;
};
void
AddHostDialogPrivate
::
readConfig
()
...
...
src/widgets/ldapclient.cpp
View file @
806e7586
...
...
@@ -43,7 +43,7 @@ public:
void
slotInfoMessage
(
KJob
*
,
const
QString
&
info
,
const
QString
&
);
void
slotDone
();
LdapClient
*
q
=
nullptr
;
LdapClient
*
const
q
;
KLDAP
::
LdapServer
mServer
;
QString
mScope
;
...
...
src/widgets/ldapclientsearch.cpp
View file @
806e7586
...
...
@@ -37,8 +37,6 @@ class Q_DECL_HIDDEN LdapClientSearch::Private
public:
Private
(
LdapClientSearch
*
qq
)
:
q
(
qq
)
,
mActiveClients
(
0
)
,
mNoLDAPLookup
(
false
)
{
mClientSearchConfig
=
new
LdapClientSearchConfig
;
}
...
...
@@ -59,7 +57,7 @@ public:
void
slotDataTimer
();
void
slotFileChanged
(
const
QString
&
);
LdapClientSearch
*
q
=
nullptr
;
LdapClientSearch
*
const
q
;
QList
<
LdapClient
*>
mClients
;
QStringList
mAttributes
;
QString
mSearchText
;
...
...
src/widgets/ldapconfigwidget.cpp
View file @
806e7586
...
...
@@ -32,7 +32,7 @@ public:
:
mParent
(
parent
)
{
mainLayout
=
new
QGridLayout
(
mParent
);
mainLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
mainLayout
->
setContentsMargins
(
{}
);
}
void
setLDAPPort
();
...
...
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