D6899: support X-KDE-OnlyShowOnQtPlatforms
Kai Uwe Broulik
noreply at phabricator.kde.org
Tue Jul 25 14:20:30 UTC 2017
broulik added inline comments.
INLINE COMMENTS
> kded.cpp:328
> +{
> + const QStringList supportedPlatforms = module.rawData().value(QStringLiteral("X-KDE-OnlyShowOnQtPlatforms")).toVariant().toString().split(QStringLiteral(";"), QString::SkipEmptyParts);
> +
KPluginMetaData::readStringList(module.rawData(), QStringLiteral("X-KDE-OnlyShowOnQtPlatforms"));
> kded.cpp:330
> +
> + return supportedPlatforms.count() == 0 || supportedPlatforms.contains(qApp->platformName());
> +}
`isEmpty()`
> kded.h:90
> + */
> + bool platformSupportsModule(const KPluginMetaData &module) const;
> + //@}
static?
> kdedmodule.desktop:111
> +[PropertyDef::X-KDE-PluginInfo-OnlySupportedPlatform]
> +Type=QString
QStringList
REPOSITORY
R297 KDED
REVISION DETAIL
https://phabricator.kde.org/D6899
To: mart, #frameworks, #plasma
Cc: broulik, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170725/ecbfa4c2/attachment.html>
More information about the Kde-frameworks-devel
mailing list