Commit graph

9 commits

Author SHA1 Message Date
Albert Vaca
2ca7436e2c Device now reads and keeps the deviceType it receives in identityPackages 2013-11-06 21:34:55 +01:00
Aleix Pol Gonzalez
5e151d185e Improved package dispatch to the different plugins
Before this patch, all plugins had to discard received packages that were
not for themselves. This could be a security problem (a plugin could sniff
other plugin's packages) and also adds some complexity and processing.

This patch makes the device instance aware of what services are required
by the different plugins and when a package is received the corresponding
plugins will get the package.

These services will be listed on the plugin's desktop file, so the user
can decide whether to enable a plugin.

Note that this only works for receiving, not sending.

REVIEW: 113210
2013-10-29 17:46:57 +01:00
Aleix Pol
faa3daa585 Code review
Fixes/adds some comments.
Proper use of some Qt API.

REVIEW: 113195
2013-10-11 15:20:04 +02:00
Albert Vaca
920d945a5d ProtocolVersion is read for already known devices too
It might have changed since last connection, so we don't store it
2013-10-01 03:11:22 +02:00
Albert Vaca
4363ea8fdb Device class now stores the protocolVersion of the device 2013-10-01 01:09:20 +02:00
Albert Vaca
2fd082f4a0 Includes and cmakelists cleanup 2013-09-26 17:49:40 +02:00
Albert Vaca
f8825e013e KCM updated when pairing state changes externally
Added an unpaired() signal to KDED's Device exported by dbus
2013-09-20 16:03:17 +02:00
Albert Vaca
be45c577ef Added RequestedByPeer status to the state machine 2013-09-03 22:11:13 +02:00
Albert Vaca
36e5d41811 Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
Renamed from daemon/device.h (Browse further)