D24978: Add KService::noGlobalShortcut corresponding to X-KDE-NoGlobalShortcut

Aleix Pol Gonzalez noreply at phabricator.kde.org
Mon Oct 28 11:40:48 GMT 2019


apol added a comment.


  This doesn't look like some API we'd be using very often. Would it make sense to just have kglobalsettings access it through KService::property?

INLINE COMMENTS

> kservice.cpp:739
> +{
> +    if (qvariant_cast<bool>(property(QStringLiteral("X-KDE-NoGlobalShortcut"), QVariant::Bool))) {
> +        return true;

`return qvariant_cast<bool>(property(QStringLiteral("X-KDE-NoGlobalShortcut"), QVariant::Bool));`

REPOSITORY
  R309 KService

REVISION DETAIL
  https://phabricator.kde.org/D24978

To: meven, davidre, fvogt, apol, #plasma
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191028/c52fa195/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list