Commit graph

462 commits

Author SHA1 Message Date
Albert Vaca
f12a3768b4 Translated sendfileitemaction and the CLI 2014-06-17 22:21:58 +02:00
Albert Vaca
1f6cca406a Added a TODO 2014-06-17 22:21:31 +02:00
Albert Vaca
dd43479956 Now plugins load by default the kdeconnect-plugins catalog. 2014-06-17 22:21:20 +02:00
Aleix Pol
43a24ac12e Figure out Messages.sh after code refactoring
KDED is translated again
Rename the core's pot to kdeconnect-core.pot and make sure the library
loads the catalog when it's linked to.
Provide a separate translations file for all the plugins, together.

REVIEW: 118774
2014-06-17 18:45:47 +02:00
l10n daemon script
43267c74cc SVN_SILENT made messages (.desktop file) 2014-06-16 04:30:47 +00:00
Albert Vaca
734b27ed50 De-duplicated small piece of code 2014-06-15 21:40:19 +02:00
Albert Vaca
8c7c95f98b Workaround for the bug where old notifications could not be erased 2014-06-15 21:40:18 +02:00
Aleix Pol
6ce0b6b874 Document in the desktop files the outgoing types for the plugins
This way we narrow the things a plugin can send, to its own scope. Still
every plugin can set a list of types, so it should be ok.
2014-06-14 20:35:00 +02:00
Aleix Pol
9459001fbe Use the icon for the device, in the file item actions
This way, we have visual information of what type of file we're sending it
to.
2014-06-14 19:42:34 +02:00
Aleix Pol
b7420146eb Expose the icon name from the device instance 2014-06-14 19:42:34 +02:00
Aleix Pol
61fcf3f4ba Improve exposed actions
If there's no paired devices, show nothing.
If there's one, just one action to send directly from.
If there's more, then show the submenu
2014-06-14 19:42:33 +02:00
Aleix Pol
a2e6632759 Introduce a fileitemactionplugin
This way we can send files to all devices.
2014-06-14 19:42:33 +02:00
Albert Vaca
5177937e95 Removed old TODO 2014-06-14 18:05:34 +02:00
Aleix Pol
96d6e4bccb install kdeconnectcore 2014-06-14 18:04:54 +02:00
Aleix Pol
7a0557f482 cmake fixes
Use the new directory structure when installing generated files.
Remove unneeded add_dependencies calls.
2014-06-14 16:56:41 +02:00
Rohan Garg
83c882cbdd Fix build 2014-06-14 16:50:54 +02:00
Aleix Pol
741abafaf7 Move the plugins into a different top-ĺevel directory
Reviewed by Albert Vaca
2014-06-14 16:34:11 +02:00
Albert Vaca
232c43838c Removed unused variable 2014-06-14 16:22:30 +02:00
Aleix Pol
b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +02:00
Albert Vaca
807f90f132 Merge branch 'export-headers' 2014-06-14 14:32:49 +02:00
Albert Vaca
1401e02989 libkdeconnect: Fixed some style issues.
REVIEW: 118626

Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 14:32:31 +02:00
Alexandr Akulich
f135ebe6c6 Added headers installation.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 14:32:31 +02:00
Alexandr Akulich
ad53d3f813 kcm: Added DevicesModel declaration to move it's definition to implementation. 2014-06-14 14:32:31 +02:00
Alexandr Akulich
d795addff8 libkdeconnect: KDECONNECT_EXPORT turned to be import declaration outside of lib. 2014-06-14 14:32:31 +02:00
Alexandr Akulich
ebc035474a NotificationsModel: isAnyDimissable() marked as invokable method. 2014-06-14 14:32:31 +02:00
Alexandr Akulich
af70979095 Added some more const declaration.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 14:32:30 +02:00
Alexandr Akulich
6fff30fc8f DevicesModel: Updated StatusReachable value. 2014-06-14 14:32:29 +02:00
Alexandr Akulich
bb310e3db3 libkdeconnect: CMake files reworked to follow packaging guilde recommendations. 2014-06-14 14:32:29 +02:00
Alexandr Akulich
42ecb8a93b libkdeconnect: Implemented CMake package configuration files.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 14:32:29 +02:00
Aleix Pol
5c9d3a9d42 Make a new kdeconnectcore library
Solves the need of compiling device.cpp against all plugins. Also
networkpackage and others don't need to either.

REVIEW: 118742
2014-06-14 14:31:31 +02:00
Albert Vaca
8777cc9d76 libkdeconnect: Fixed some style issues.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 13:31:02 +02:00
Aleix Pol
1bda8043cd Remove unneeded libraries to link against
Now the kded doesn't compile everything, so it has less dependencies
2014-06-14 13:12:48 +02:00
Aleix Pol
846494f62a This wasn't meant to get in, according to Albert Vaca 2014-06-14 13:11:08 +02:00
Alexandr Akulich
384b6d8be0 Added headers installation.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 13:10:30 +02:00
Aleix Pol
e58145b20e Don't compile all kde connect in the kded
It's just launching a process.
2014-06-14 13:08:26 +02:00
Alexandr Akulich
f8fe1f3f6c kcm: Added DevicesModel declaration to move it's definition to implementation. 2014-06-14 13:06:12 +02:00
Alexandr Akulich
a6d4dd87be libkdeconnect: KDECONNECT_EXPORT turned to be import declaration outside of lib. 2014-06-14 13:05:50 +02:00
Alexandr Akulich
35757aef8f NotificationsModel: isAnyDimissable() marked as invokable method. 2014-06-14 13:05:40 +02:00
Alexandr Akulich
aeefc32c9b Added some more const declaration.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 13:05:33 +02:00
Alexandr Akulich
8e761a7b7f DevicesModel: Updated StatusReachable value. 2014-06-14 13:02:09 +02:00
Alexandr Akulich
ce5bf39d7b libkdeconnect: CMake files reworked to follow packaging guilde recommendations. 2014-06-14 13:01:50 +02:00
Alexandr Akulich
f7e7327991 libkdeconnect: Implemented CMake package configuration files.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 13:01:13 +02:00
Albert Vaca
27483bc0c5 Inform other devices we don't trust them when they talk to us 2014-06-09 11:52:46 +02:00
Albert Vaca
78597637e7 Missing license file 2014-06-09 11:52:16 +02:00
Albert Vaca
11b86359fd Added a proper description to KAboutData 2014-06-09 10:31:25 +02:00
Antoni Bella Pérez
10d44d9b9c Fixed typo 2014-06-07 18:47:24 +02:00
Albert Vaca
e9a9d742d6 Fixed sftp plugin crashing when mounting
Removed sftp notificatons and some configuration options
Homogenized coding style
2014-06-07 18:34:48 +02:00
Stefan Werner
400cff1c9c PauseMusicPlugin now stops music when it can't pause (ie: streams) 2014-06-07 18:34:48 +02:00
Albert Vaca
6549da84be Incoming shared files can now be placed in device-dependent dirs. 2014-06-07 18:27:38 +02:00
Albert Vaca
e2e3785206 Trying to fix crashs at exit 2014-06-07 18:27:38 +02:00