[PATCH] libkcddb

Andras Mantia amantia at kde.org
Tue Dec 9 08:00:34 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 December 2003 20:55, Richard L㱫㭧 wrote:
> There's no docu for NetAccess::file_copy, but all other functions
> seems to
> return true on success, and I get that feeling from a quick look at
> the code
> too.
By reading the comments & docu in netaccess.h, it seems that file_copy is an 
extended copy and will replace the copy in KDE 4, thus it should behave just 
like the "copy", which returns true on success. BTW NetAccess::copy simply 
calls NetAccess::file_copy, so the documentation for copy is valid for 
file_copy. ;-) This makes the below code look weird. 

> +    if ( !KIO::NetAccess::file_copy( tmpUrl , url_ ) ) 
>        return Success; 


Andras

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/1YEjTQdfac6L/08RAszeAJ0XjEcIC7brUgqwdI7rwsoAk8vyRwCgu1Hy
ngUj5hK9ljRgPRx6JEBR21c=
=evPn
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list