Verified Commit 72c2a7b4 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Embed JSON metadata in KIOSlaves

Task: https://phabricator.kde.org/T14518
parent 655f3e7e
Pipeline #64303 failed with stage
in 24 minutes and 50 seconds
......@@ -29,6 +29,13 @@
#define S_IROTH 0004
#endif
// Pseudo plugin class to embed meta data
class KIOPluginForMetaData : public QObject
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.kde.kio.slave.akonadi" FILE "akonadi.json")
};
extern "C" {
int Q_DECL_EXPORT kdemain(int argc, char **argv);
}
......@@ -231,3 +238,5 @@ KIO::UDSEntry AkonadiSlave::entryForCollection(const Akonadi::Collection &collec
}
return entry;
}
#include "akonadislave.moc"
......@@ -46,6 +46,13 @@ extern "C" {
#define MAX_RESPONSE_LEN 512
#define MAX_COMMANDS 10
// Pseudo plugin class to embed meta data
class KIOPluginForMetaData : public QObject
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.kde.kio.slave.pop3" FILE "pop3.json")
};
extern "C" {
int Q_DECL_EXPORT kdemain(int argc, char **argv);
}
......@@ -1158,3 +1165,5 @@ void POP3Protocol::del(const QUrl &url, bool /*isfile */)
qCDebug(POP3_LOG) << "Path:" << _path;
finished();
}
#include "pop3.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