Commit graph

10 commits

Author SHA1 Message Date
Àlex Fiestas
e4c3e8c4cd Implement virtual KJob::doKill in FileTransferJob
This basically allows killing the job from the JobTrakcer
aka Plasma.
2014-03-03 22:34:03 +01:00
Àlex Fiestas
a75bfe5f0d Use KIO::RenameDialgo if the file exists
If we are receiving a file that we already have on the
system, use KIO::RenameDialog instead of just overwriting
the destination file.
2014-03-03 22:33:22 +01:00
Àlex Fiestas
82a686dbe5 Calculate the speed in FileTransferJob if we know the size
KJob doesn't do this for us so we have to do the math
ourselves.
2014-03-03 21:12:06 +01:00
Àlex Fiestas
93c0763e63 Emit a description in filetransferjob
This basically allows Plasma (or any other job trakcer) to show
a nice description showing FROM and TO, kinda:

From: Nexus5
To: ~/afiestas/Downloads/foo.mkv
2014-03-03 21:07:02 +01:00
Albert Vaca
39190a4a1b Share plugin changed name! Please run make uninstall before make install
Sharereceiver is now called share plugin (soon it will not only receive ;)
Added a config dialog to be able to select a directory for incoming files
Changed  Messages.sh to translate config new .ui files too
Fixed typo in pausemusicplugin.cpp
Fixed multiple file transfer notifications bug
Added minimal error checking to share plugin.
2013-11-23 01:39:10 +01:00
Albert Vaca
6e5de6f437 qDebug -> kDebug with namespaces
Added 3 namespaces: kdeconnect_kded, kdeconnect_kcm and libkdeconnect
2013-11-06 22:16:55 +01:00
Albert Vaca
a06cf677f4 Added button to open incoming file transfer's folder in browser 2013-10-01 02:44:49 +02:00
Albert Vaca
f53f70d7c4 Fixed file transfer
Apparently KIO is so dumb it can't create files
Also we have lots of commented qDebugs now
2013-09-27 00:01:59 +02:00
Albert Vaca
4bd5d2e427 Payloads are now QSharedPointer<QIODevice> instead of QIODevice* 2013-09-24 14:13:02 +02:00
Albert Vaca
e20adde7fd Moved filetransferjob from filetransfer plugin to networkpackage 2013-09-24 14:10:25 +02:00
Renamed from kded/plugins/filetransfer/filetransferjob.cpp (Browse further)