Commit graph

31 commits

Author SHA1 Message Date
Albert Vaca
1604309ace Added symmetric pairing
A KNotification asks to accept the pairing when the other ends requests it
2013-08-30 19:10:43 +02:00
Albert Vaca
1cb1b26415 Moved DevicesModel and DBusInterfaces to libkdeconnect
Added NotificationsModel to libkdeconnect
2013-08-21 18:25:44 +02:00
Albert Vaca
a1d396ad20 Error checking in KCM, in case KDED is not running
Added a dbus interface isValid check to prevent a crash.

BUG: 323653
2013-08-18 18:22:54 +02:00
Albert Vaca
0eb3f019c9 Minor changes 2013-08-16 09:27:32 +02:00
Albert Vaca
986c49d326 Changed generic license headers 2013-08-16 06:23:54 +02:00
Albert Vaca
04e1705697 Removed extra line breaks 2013-08-16 00:28:07 +02:00
Albert Vaca
d1658564f9 Sort devices by status in KCM.
Some coded added to keep the current selection when reordering.
2013-08-16 00:25:13 +02:00
Albert Vaca
05983267e3 Fixed KCM device list not being refreshed
When a the device visibilita changes
2013-08-15 22:45:33 +02:00
Albert Vaca
622fdcc46e Fixed KCM crash on KDED restart
+ added a new datarole that could be useful to sort
2013-08-15 22:22:11 +02:00
Albert Vaca
4aac44801f KCM icon, name and other texts changed 2013-08-15 21:59:19 +02:00
Albert Vaca
238d81a408 Changing dbus interface to improve communication with kcm and the solid backend 2013-08-13 23:23:32 +02:00
Albert Vaca
88fab1f333 Plugins are now owned by devices and not by daemon
Plugins can no longer emit networkpackages for *every* device.
Plugins are stored in device, wich selectively loads them.
A Device is needed in order to instantiate a Plugin (via PluginLoader)
PluginLoader is a singleton, because every instance of Device need it.
Added KPluginSelector in the KCM to select the plugins to load.
Added architecture explanation to README

Only PingPlugin is working by now.
2013-08-13 05:07:32 +02:00
Albert Vaca
af02ca7c74 Check when empty to avoid a crash 2013-08-08 19:09:42 +02:00
Albert Vaca
a43a479733 Fixed kcm crash 2013-08-07 18:23:45 +02:00
Albert Vaca
3eb6ecaa3f Implemented batterypackageinterface
Fixed CMake macro
2013-07-28 22:00:45 +02:00
Albert Vaca
43932a4300 Added battery reporting via dbus interface 2013-07-26 16:21:19 +02:00
Albert Vaca
ee7f6b0c6d Fixed cmakelists bug that made necessary to run make without -j
Using a nicer dbus syntax in pausemusicpackageinterface
2013-07-25 17:04:58 +02:00
Albert Vaca
54de8fa2fa Android: Uses Apache Mina to abstract socket management
KDE: Housekeeping
2013-07-24 18:42:33 +02:00
Albert Vaca
acadeef76d Rewritten old package emitters and receivers using the new package format
Splitted up ping receiver from notification receiver in KDE
Improved pausemusic receiver
Fixed same computer being discovered multiple times
Fixed some other minor bugs and compilation warnings
2013-07-04 19:17:22 +02:00
Albert Vaca
b1e4e2d836 New networkpackage format and serialization using qjson and qvariantmap (and templates fun) 2013-07-04 01:09:49 +02:00
Albert Vaca
975892dcd0 Yet another refactor, mostly moving code from from daemon class to device class
Device now has a public dbus interface
Removed wizard from kcm: now the main list shows all the devices and you can pair/unpair using a checkbox
Both Kde and Android now use unique device ids
2013-07-03 03:52:44 +02:00
Albert Vaca
213e8ea9ad Fixed android app bug 2013-07-02 15:22:05 +02:00
Albert Vaca
669edf8ea5 It even works now 2013-07-02 02:46:41 +02:00
Albert Vaca
5fbd33e8c5 Implemented communication wizard -> kcm
Renamed androidshine -> kdeconnect
2013-07-02 01:50:32 +02:00
Albert Vaca
5027b7ee8e Device listing in kcm 2013-06-27 14:33:51 +02:00
Albert Vaca
1bdd3eb97b Basic communication between daemon and wizard 2013-06-27 02:26:06 +02:00
Albert Vaca
1f536de7e9 Started wizzard implementation 2013-06-27 02:13:16 +02:00
Albert Vaca
800de8836f DBus communication working 2013-06-25 21:19:17 +02:00
Albert Vaca
df12667f10 Fixed cmake build 2013-06-25 18:43:54 +02:00
Albert Vaca
3ff7779c7c Ooops 2013-06-25 18:08:34 +02:00
Albert Vaca
6e53c5b9c7 KCM skeleton 2013-06-19 16:15:25 +02:00