Commit graph

11 commits

Author SHA1 Message Date
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
baa0e5ff95 Made some methods const 2014-04-05 20:05:22 +02:00
À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
556c3a5fae Added const into an inline method 2014-03-03 21:07:17 +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
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
2fd082f4a0 Includes and cmakelists cleanup 2013-09-26 17:49:40 +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.h (Browse further)