kdeconnect-kde/plugins/pausemusic
Aleix Pol 3734d6ce4d Reduce API exposed through dbus
Summary:
Don't use QDBusConnection::ExportAllContents
No need to make connect and receivedPackage public slots (they're are the
parent's already)

Fixes T4975

Test Plan: Rough manual test

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Maniphest Tasks: T4975

Differential Revision: https://phabricator.kde.org/D3871
2017-01-10 18:15:01 +01:00
..
CMakeLists.txt Remove unneeded dependency link 2015-04-10 18:03:49 +02:00
kdeconnect_pausemusic.json SVN_SILENT made messages (.desktop file) - always resolve ours 2016-12-20 12:45:03 +01:00
kdeconnect_pausemusic_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-01-06 05:54:14 +01:00
pausemusic_config.cpp Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
pausemusic_config.h Clean up use of virtual and override keywords 2016-06-20 19:22:29 +02:00
pausemusic_config.ui Added separate options to mute and/or pause players during a call. 2014-09-17 19:02:45 +02:00
pausemusicplugin.cpp Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
pausemusicplugin.h Reduce API exposed through dbus 2017-01-10 18:15:01 +01:00
README Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00

This simple plugin will just listen to "kdeconnect.telephony" like the telephony
plugin does. It reads the field "event", to see if it is "ringing" or "talking"
and then pauses all the music/video players reachable through MPRIS. When the
same kind of package is received but the boolean "isCancel" is set to true, it
will resume the playback of all the paused sources.