3734d6ce4d
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_telephony.json | ||
README | ||
sendsmsdialog.cpp | ||
sendsmsdialog.h | ||
telephonyplugin.cpp | ||
telephonyplugin.h |
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.