Verified Commit 2beb8b96 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Clean up ServiceType property usage in JSON based plugins

Task: https://phabricator.kde.org/T14483
parent da30c880
......@@ -46,9 +46,6 @@
"Name[x-test]": "xx'Compress' service menuxx",
"Name[zh_CN]": "“压缩”服务菜单",
"Name[zh_TW]": "「壓縮」服務選單",
"ServiceTypes": [
"KFileItemAction/Plugin"
]
},
"MimeType": "application/octet-stream;inode/directory;",
"X-KDE-Require": "Write"
......
......@@ -45,9 +45,6 @@
"Name[x-test]": "xx'Extract' service menuxx",
"Name[zh_CN]": "“解压缩”服务菜单",
"Name[zh_TW]": "「解壓縮」服務選單",
"ServiceTypes": [
"KFileItemAction/Plugin"
]
},
"MimeType": "application/octet-stream;"
}
......@@ -58,7 +58,6 @@ void MetaDataTest::testPluginLoading()
void MetaDataTest::testPluginMetadata()
{
for (const KPluginMetaData& metaData : qAsConst(m_plugins)) {
QVERIFY(metaData.serviceTypes().contains(QLatin1String("Kerfuffle/Plugin")));
QVERIFY(!metaData.mimeTypes().isEmpty());
const QJsonObject json = metaData.rawData();
......
......@@ -84,9 +84,6 @@
"Name[x-test]": "xxP7zip pluginxx",
"Name[zh_CN]": "P7zip 插件",
"Name[zh_TW]": "P7zip 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadOnlyExecutables": [
......
......@@ -5,9 +5,6 @@
"TODO"
],
"Name": "TODO archive plugin",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadWrite": true,
......
......@@ -84,9 +84,6 @@
"Name[x-test]": "xxRAR pluginxx",
"Name[zh_CN]": "RAR 插件",
"Name[zh_TW]": "RAR 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadOnlyExecutables": [
......
......@@ -69,9 +69,6 @@
"Name[x-test]": "xxThe Unarchiver pluginxx",
"Name[zh_CN]": "Unarchiver 插件",
"Name[zh_TW]": "解壓縮外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadOnlyExecutables": [
......
......@@ -84,9 +84,6 @@
"Name[x-test]": "xxInfo-zip pluginxx",
"Name[zh_CN]": "Info-zip 插件",
"Name[zh_TW]": "Info-zip 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadOnlyExecutables": [
......
......@@ -84,9 +84,6 @@
"Name[x-test]": "xxLibarchive pluginxx",
"Name[zh_CN]": "Libarchive 插件",
"Name[zh_TW]": "Libarchive 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadWrite": true,
......
......@@ -84,9 +84,6 @@
"Name[x-test]": "xxLibarchive plugin (read-only formats)xx",
"Name[zh_CN]": "Libarchive 插件 (只读格式)",
"Name[zh_TW]": "Libarchive 外掛程式(唯讀格式)",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadWrite": false,
......
......@@ -83,9 +83,6 @@
"Name[x-test]": "xxBzip2 pluginxx",
"Name[zh_CN]": "Bzip2 插件",
"Name[zh_TW]": "Bzip2 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Priority": 100
......
......@@ -83,9 +83,6 @@
"Name[x-test]": "xxGzip pluginxx",
"Name[zh_CN]": "Gzip 插件",
"Name[zh_TW]": "Gzip 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Priority": 100
......
......@@ -83,9 +83,6 @@
"Name[x-test]": "xxLZMA pluginxx",
"Name[zh_CN]": "LZMA 插件",
"Name[zh_TW]": "LZMA 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Priority": 100
......
......@@ -78,9 +78,6 @@
"Name[x-test]": "xxLibzip pluginxx",
"Name[zh_CN]": "Libzip 插件",
"Name[zh_TW]": "Libzip 外掛程式",
"ServiceTypes": [
"Kerfuffle/Plugin"
],
"Version": "@RELEASE_SERVICE_VERSION@"
},
"X-KDE-Kerfuffle-ReadWrite": true,
......
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