kdeconnect-kde/kded/plugins/share
Aleix Pol 1f9176ad92 Simplify path handling in the share plugin
Prefer ::toLocalFile() to ::path(). ::path() won't work on Windows properly.
Let KUrl handle the trailing slash adjusting, no need to do the string
handling ourselves.
Take advantage of the fact that it can be a url, at the moment it was just
doing silly type conversions.

REVIEW: 116484
2014-03-02 00:50:11 +01:00
..
autoclosingqfile.cpp Share plugin changed name! Please run make uninstall before make install 2013-11-23 01:39:10 +01:00
autoclosingqfile.h Share plugin changed name! Please run make uninstall before make install 2013-11-23 01:39:10 +01:00
CMakeLists.txt Share plugin changed name! Please run make uninstall before make install 2013-11-23 01:39:10 +01:00
kdeconnect_share.desktop SVN_SILENT made messages (.desktop file) 2014-02-19 05:17:04 +00:00
kdeconnect_share_config.desktop SVN_SILENT made messages (.desktop file) 2014-01-23 04:05:48 +00:00
README Share plugin changed name! Please run make uninstall before make install 2013-11-23 01:39:10 +01:00
share_config.cpp Use xdg Download folder instead of Desktop folder as default location for the share plugin 2013-12-27 00:29:04 +01:00
share_config.h Share plugin changed name! Please run make uninstall before make install 2013-11-23 01:39:10 +01:00
share_config.ui Share plugin changed name! Please run make uninstall before make install 2013-11-23 01:39:10 +01:00
shareplugin.cpp Simplify path handling in the share plugin 2014-03-02 00:50:11 +01:00
shareplugin.h Simplify path handling in the share plugin 2014-03-02 00:50:11 +01:00

It receives a packages with type kdeconnect.share. If they have a payload
attached, it will download it as a file with the filename set in the field
"filename" (string). If that field is not set it should generate a filename.

If the content transferred is text, it can be sent in a field "text" (string)
instead of an attached payload. In that case, this plugin opens a text editor
with the content instead of saving it as a file.

If the content transferred is a url, it can be sent in a field "url" (string).
In that case, this plugin opens that url in the default browser.