kdeconnect-kde/plugins/telephony
Alexander Lohnau f740a8bda8 Use target-centric CMake approach for declaring debug category
This makes it easier to read, because we do not have to handle a list of
files that get added to the targets. In other KDE projects, we also
prefer the target centric approach.

In case one wants to reuse the same category in multiple places, it
would be best to create a small static lib. But for now, this is not
needed.
2023-07-22 20:51:19 +00:00
..
CMakeLists.txt Use target-centric CMake approach for declaring debug category 2023-07-22 20:51:19 +00:00
kdeconnect_telephony.json Remove explicit plugin Id 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
telephonyplugin.cpp Add and make use of ECM's clang-format integration 2022-09-11 23:21:58 +00:00
telephonyplugin.h Provide default implementation for KdeConnectPlugin::connected 2023-07-22 16:06:21 +02:00

This plugin will display a notification each time a package with type
"kdeconnect.telephony" is received. The type of notification will change
depending on the contents of the field "event" (string).

Valid contents for "event" are: "ringing", "talking", "missedCall" and "sms".
Note that "talking" is just ignored in this implementation, while the others
will display a system notification.

If the incoming package contains a "phoneNumber" string field, the notification
will also display it. Note that "phoneNumber" can be a contact name instead
of an actual phone number.

If the incoming package contains "isCancel" set to true, the package is ignored.