[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: 'lightweight' QDir::isAbsolutePath replacement ?
From:       Ralf Habacker <ralf.habacker () freenet ! de>
Date:       2008-03-11 11:16:30
Message-ID: 47D66A0E.5080406 () freenet ! de
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic