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
KDE PIM Runtime
Commits
72c2a7b4
Verified
Commit
72c2a7b4
authored
Jun 04, 2021
by
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
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
kioslave/akonadi/akonadislave.cpp
View file @
72c2a7b4
...
...
@@ -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"
kioslave/pop3/pop3.cpp
View file @
72c2a7b4
...
...
@@ -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"
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