Verified Commit 39cc6d13 authored by Alexander Lohnau's avatar 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
...@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment