'lightweight' QDir::isAbsolutePath replacement ?
Ralf Habacker
ralf.habacker at freenet.de
Tue Mar 11 11:16:30 GMT 2008
Thiago Macieira schrieb:
> On Tuesday 11 March 2008 11:48:25 Ralf Habacker wrote:
>
>> The QFileInfo methods are for convencience and because the previous
>> QDir::isRelativePath() uses QFileInfo too. Only the
>> QFSFileEngine::isRelativePath() and QFSFileEngine::isAbsolutePath() are
>> really required.
>>
>
> No, they are not. You could have used internal functions that exposed no API
> changes.
>
The internal isRelativePath() functions I have taken are located in
qfsfileengine_win.cpp and are needed there
- the only way I could imagine would be to add these function to
QFSFileEnginePrivate and to use qfsfileengine_p.h in qdir.cpp. Are you
refering to this solution ?
Ralf
More information about the kde-core-devel
mailing list