Skip to content
GitLab
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
39cc6d13
Verified
Commit
39cc6d13
authored
Jun 04, 2021
by
Alexander Lohnau
Browse files
Embed JSON metadata in KIOSlaves
Task:
https://phabricator.kde.org/T14518
parent
a53ed3f6
Pipeline
#64182
passed with stage
in 4 minutes and 51 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
kioslave/src/kio_ldap.cpp
View file @
39cc6d13
...
@@ -25,6 +25,13 @@
...
@@ -25,6 +25,13 @@
using
namespace
KIO
;
using
namespace
KIO
;
using
namespace
KLDAP
;
using
namespace
KLDAP
;
// Pseudo plugin class to embed meta data
class
KIOPluginForMetaData
:
public
QObject
{
Q_OBJECT
Q_PLUGIN_METADATA
(
IID
"org.kde.kio.slave.ldap"
FILE
"ldap.json"
)
};
extern
"C"
{
extern
"C"
{
int
Q_DECL_EXPORT
kdemain
(
int
argc
,
char
**
argv
);
int
Q_DECL_EXPORT
kdemain
(
int
argc
,
char
**
argv
);
}
}
...
@@ -769,3 +776,5 @@ void LDAPProtocol::listDir(const QUrl &_url)
...
@@ -769,3 +776,5 @@ void LDAPProtocol::listDir(const QUrl &_url)
// we are done
// we are done
finished
();
finished
();
}
}
#include
"kio_ldap.moc"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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