2014-09-23 19:05:22 +01:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/core)
|
2014-06-18 01:49:07 +01:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\")
|
2013-08-13 04:14:46 +01:00
|
|
|
install(FILES kdeconnect_plugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
2013-08-13 04:07:32 +01:00
|
|
|
|
2013-08-12 15:09:52 +01:00
|
|
|
add_subdirectory(ping)
|
2013-08-13 14:48:02 +01:00
|
|
|
add_subdirectory(clipboard)
|
Add contacts-reading plugin (KDE side)
Summary:
Add a plugin to KDE Connect which supports exporting the Android contacts databases to vcards on the desktop
When the devices are connected, the plugin sends a request for all timestamps and IDs
When a packet with timestamps and IDs is received, it verifies it has vcards for each ID and that the timestamps match and deletes any vcards for IDs which were not reported. It then sends a request for all vcards which were missing or need updating
When a packet with vcards is received they are unconditionally written to disk, possibly overwriting existing vcards
Provides one dbus method: contacts/synchronizeRemoteWithLocal which triggers the request for all timestamps and IDs
BUG: 367999
Test Plan:
Connect the device to the desktop and verify that vcards are created in QStandardPaths::GenericDataLocation / kpeoplevcard". On my system this is ~/.local/share/kpeoplevcard
Create a dummy contact on the device and verify it is synchronized (Currently not automatic, have to disconnect and reconnect or use dbus)
Modify the dummy contact and verify the modifications are synchronized (Currently not automatic, have to disconnect and reconnect or use dbus)
Delete the dummy contact and verify the deletion is synchronized (Currently not automatic, have to disconnect and reconnect or use dbus)
Reviewers: #kde_connect, apol
Reviewed By: #kde_connect, apol
Subscribers: mtijink, #kde_connect, apol
Tags: #kde_connect
Maniphest Tasks: T8283
Differential Revision: https://phabricator.kde.org/D9691
2018-04-23 21:27:38 +01:00
|
|
|
add_subdirectory(contacts)
|
2013-08-13 23:09:05 +01:00
|
|
|
add_subdirectory(telephony)
|
2015-09-10 15:55:38 +01:00
|
|
|
add_subdirectory(share)
|
|
|
|
add_subdirectory(notifications)
|
2013-08-13 23:09:05 +01:00
|
|
|
add_subdirectory(battery)
|
2016-06-13 13:18:51 +01:00
|
|
|
add_subdirectory(findmyphone)
|
2018-03-29 00:46:12 +01:00
|
|
|
if(Phonon4Qt5_FOUND)
|
|
|
|
add_subdirectory(findthisdevice)
|
|
|
|
endif()
|
2017-01-23 08:08:27 +00:00
|
|
|
add_subdirectory(remotekeyboard)
|
2018-04-02 19:20:24 +01:00
|
|
|
add_subdirectory(mousepad)
|
|
|
|
if(NOT WIN32)
|
2017-06-29 00:57:46 +01:00
|
|
|
add_subdirectory(runcommand)
|
2016-06-13 13:18:51 +01:00
|
|
|
add_subdirectory(sendnotifications)
|
2015-09-10 15:55:38 +01:00
|
|
|
add_subdirectory(pausemusic)
|
|
|
|
add_subdirectory(mpriscontrol)
|
|
|
|
add_subdirectory(screensaver-inhibit)
|
|
|
|
add_subdirectory(sftp)
|
2015-09-10 14:51:38 +01:00
|
|
|
endif()
|
2015-06-18 03:01:01 +01:00
|
|
|
if(EXPERIMENTALAPP_ENABLED)
|
2017-08-02 01:05:01 +01:00
|
|
|
add_subdirectory(remotecommands)
|
2015-06-18 03:01:01 +01:00
|
|
|
add_subdirectory(mprisremote)
|
2015-07-22 02:19:29 +01:00
|
|
|
add_subdirectory(remotecontrol)
|
2015-07-22 02:37:34 +01:00
|
|
|
add_subdirectory(lockdevice)
|
2015-06-18 03:01:01 +01:00
|
|
|
endif()
|
|
|
|
|
2014-11-10 04:35:47 +00:00
|
|
|
#FIXME: If we split notifications in several files, they won't appear in the same group in the Notifications KCM
|
2014-11-12 05:40:54 +00:00
|
|
|
install(FILES kdeconnect.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
|