kdesupport/kdewin32

Jarosław Staniek js at iidea.pl
Sat Mar 24 00:22:59 CET 2007


Christian Ehrlicher said the following, On 2007-03-24 00:09:
> Jarosław Staniek schrieb:
>> Christian Ehrlicher said the following, On 2007-03-23 22:58:
>>> Jarosław Staniek schrieb:
>>>> Christian Ehrlicher said the following, On 2007-03-23 22:01:
>>>>> SVN commit 645886 by chehrlic:
>>>>>
>>>>> win32_utils.c is no longer needed
>>>>
>>>> Hmm, where's fcopy() now?
>>>>
>>> We don't need it anymore - do you? I search for it in lxr.kde.org...
>>
>> Well, I use it to copy file(s) at lowlevel... is there such a function 
>> elsewhere?
>>
> I used CopyFileA() instead - but if you need fcopy() we can readd it. 
> Just thought CopyFileA is a good replacement.

Let's take a look at QFile... ah, there we have:

bool QFile::copy ( const QString & newName )

It's new in Qt4, right? So we don't need fcopy() nor directly use CopyFileA() 
in apps. Good. Another place where code will not be #ifdef'd.

And QFile::copy() uses QTemporaryFile, what's nice.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org




More information about the Kde-windows mailing list