'lightweight' QDir::isAbsolutePath replacement ?

Ralf Habacker ralf.habacker at freenet.de
Sat Mar 8 06:26:48 GMT 2008


David Faure schrieb:
> I agree with your approach. Best fix it in Qt. But otherwise:
>
> On Friday 07 March 2008, Ralf Habacker wrote:
>   
>> If not, a kdelibs located implementation will be the next best option, 
>> maybe replaced later by a qt based implementation.
>>     
>
> For this to be possible, I would recommend that any kdelibs-located implementation
> is not made public, but is only used internally. Then we can speed stuff up without
> having a redundant API relatively soon.
>   
And for all other occurrence  we should use QDir::isAbsolutePath() ?
I found about 30 occurence of startsWith('/') spread all over the kde code

Ralf





More information about the kde-core-devel mailing list