kdeconnect-kde/plugins/pausemusic
Alexander Lohnau 2e67f95017 Add explicit moc includes to cpp files
The rationale is explained in https://planet.kde.org/friedrich-kossebau-2023-06-28-include-also-moc-files-of-headers/

In case of KDEConnect, it impressively speeds up compilation. Before it
took 390 seconds on a clean build and with this change it took 330 seconds.
This is due to the mocs_compilation having to include the header files
and thus all their headers. Due to the lots of small plugins we have,
this means that the same headers must be compiled plenty of times.
When we include the moc files directly in the C++ file, they are already
available.
2023-07-30 07:27:45 +00:00
..
CMakeLists.txt Move all generated dbus interfaces to kdeconnectinterfaces exclude them from clazy 2023-07-24 12:18:47 +00:00
kdeconnect_pausemusic.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-07-30 01:37:54 +00:00
kdeconnect_pausemusic_config.qml Improve and fix pluging modules 2022-12-14 16:46:57 +00:00
pausemusic_config.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
pausemusic_config.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
pausemusic_config.ui [pausemusic] Add option to not unpause music once call has finished. 2020-05-20 21:44:33 +00:00
pausemusicplugin-win.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
pausemusicplugin-win.h Do not use optionals when they are not needed 2023-07-25 17:22:20 +02:00
pausemusicplugin.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
pausemusicplugin.h Use pragma once in plugins 2023-07-22 20:51:19 +00: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.